From dc597d70cef7202480eae6708e2142148e09356f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Feb 2024 19:57:58 +0300 Subject: clipboard copy function is able now to copy in multiple formats at a time --- plugins/SimpleStatusMsg/src/awaymsg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SimpleStatusMsg/src/awaymsg.cpp') 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(); } -- cgit v1.2.3