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/SimpleStatusMsg/src/awaymsg.cpp | |
parent | 349ff91be06644a8b611ecf6a39ce0ac1bcde86a (diff) |
clipboard copy function is able now to copy in multiple formats at a time
Diffstat (limited to 'plugins/SimpleStatusMsg/src/awaymsg.cpp')
-rw-r--r-- | plugins/SimpleStatusMsg/src/awaymsg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/src/awaymsg.cpp b/plugins/SimpleStatusMsg/src/awaymsg.cpp index 612e3d6e19..b4c8474bad 100644 --- a/plugins/SimpleStatusMsg/src/awaymsg.cpp +++ b/plugins/SimpleStatusMsg/src/awaymsg.cpp @@ -117,7 +117,7 @@ public: {
wchar_t msg[1024];
GetDlgItemText(m_hwnd, IDC_MSG, msg, _countof(msg));
- Utils_ClipboardCopy(msg);
+ Utils_ClipboardCopy(MClipUnicode(msg));
}
};
@@ -186,7 +186,7 @@ public: CMStringW wszMsg((wchar_t *)ack->lParam);
wszMsg.Replace(L"\n", L"\r\n");
- Utils_ClipboardCopy(wszMsg);
+ Utils_ClipboardCopy(MClipUnicode(wszMsg));
Close();
}
|