diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 | ||||
| -rw-r--r-- | src/core/stdpopup/src/yapp_history_dlg.cpp | 2 | ||||
| -rw-r--r-- | src/core/stduserinfo/src/stdinfo.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 6f17354162..5b808c4ee9 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -662,7 +662,7 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) case IDC_USERMENU:
if (GetKeyState(VK_SHIFT) & 0x8000) { // copy user name
ptrW id(Contact::GetInfo(CNF_UNIQUEID, m_hContact, m_szProto));
- Utils_ClipboardCopy(id);
+ Utils_ClipboardCopy(MClipUnicode(id));
}
else {
HMENU hMenu = Menu_BuildContactMenu(m_hContact);
diff --git a/src/core/stdpopup/src/yapp_history_dlg.cpp b/src/core/stdpopup/src/yapp_history_dlg.cpp index dc6a5775ad..8b6e1b7506 100644 --- a/src/core/stdpopup/src/yapp_history_dlg.cpp +++ b/src/core/stdpopup/src/yapp_history_dlg.cpp @@ -422,7 +422,7 @@ void CopyPopupDataToClipboard(HWND hList, int selection) if (ListView_GetItemState(hList, i, LVIS_SELECTED)) { wchar_t buffer[2048]; buffer[0] = '\0'; ListView_GetItemText(hList, i, selection - 100, buffer, _countof(buffer)); - Utils_ClipboardCopy(buffer); + Utils_ClipboardCopy(MClipUnicode(buffer)); break; } } diff --git a/src/core/stduserinfo/src/stdinfo.cpp b/src/core/stduserinfo/src/stdinfo.cpp index b2fed06847..a2a72e1d80 100644 --- a/src/core/stduserinfo/src/stdinfo.cpp +++ b/src/core/stduserinfo/src/stdinfo.cpp @@ -130,7 +130,7 @@ public: {
wchar_t buf[1024];
if (GetDlgItemText(m_hwnd, IDC_ADDR, buf, _countof(buf)))
- Utils_ClipboardCopy(buf);
+ Utils_ClipboardCopy(MClipUnicode(buf));
}
int Resizer(UTILRESIZECONTROL *urc) override
|
