diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-23 19:57:58 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-23 19:57:58 +0300 |
commit | dc597d70cef7202480eae6708e2142148e09356f (patch) | |
tree | 459e171a2e8a5bb2def7d7aea67fb769aa224bb2 /plugins/New_GPG | |
parent | 349ff91be06644a8b611ecf6a39ce0ac1bcde86a (diff) |
clipboard copy function is able now to copy in multiple formats at a time
Diffstat (limited to 'plugins/New_GPG')
-rw-r--r-- | plugins/New_GPG/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/New_GPG/src/ui.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp index d219fff6bf..53a690aef4 100644 --- a/plugins/New_GPG/src/options.cpp +++ b/plugins/New_GPG/src/options.cpp @@ -449,7 +449,7 @@ public: {
CMStringW str(g_plugin.getMStringW("GPGPubKey"));
str.Replace(L"\n", L"\r\n");
- Utils_ClipboardCopy(str);
+ Utils_ClipboardCopy(MClipUnicode(str));
}
void onClick_LOG_FILE_SET(CCtrlButton*)
diff --git a/plugins/New_GPG/src/ui.cpp b/plugins/New_GPG/src/ui.cpp index fdcfd86195..766978e7e1 100644 --- a/plugins/New_GPG/src/ui.cpp +++ b/plugins/New_GPG/src/ui.cpp @@ -551,7 +551,7 @@ public: return;
params.out.Remove('\r');
- Utils_ClipboardCopy(params.out);
+ Utils_ClipboardCopy(MClipAnsi(params.out));
}
void onClick_EXPORT_PRIVATE(CCtrlButton *)
|