diff options
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r-- | protocols/Tox/src/tox_options.cpp | 2 | ||||
-rw-r--r-- | protocols/Tox/src/tox_profile.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index 330872e6f2..345e5e6c81 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -95,7 +95,7 @@ void CToxOptionsMain::EnableUdp_OnClick(CCtrlBase*) void CToxOptionsMain::ToxAddressCopy_OnClick(CCtrlButton*)
{
- Utils_ClipboardCopy(ptrW(m_toxAddress.GetText()));
+ Utils_ClipboardCopy(MClipUnicode(ptrW(m_toxAddress.GetText())));
}
void CToxOptionsMain::ProfileCreate_OnClick(CCtrlButton*)
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp index d6b53fb0e9..92b6104e89 100644 --- a/protocols/Tox/src/tox_profile.cpp +++ b/protocols/Tox/src/tox_profile.cpp @@ -186,7 +186,7 @@ void CToxProto::OnErase() INT_PTR CToxProto::OnCopyToxID(WPARAM, LPARAM)
{
- Utils_ClipboardCopy(ptrW(getWStringA(TOX_SETTINGS_ID)));
+ Utils_ClipboardCopy(MClipUnicode(ptrW(getWStringA(TOX_SETTINGS_ID))));
return 0;
}
|