summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_userinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_userinfo.cpp')
-rw-r--r--protocols/JabberG/src/jabber_userinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp
index 595a0c663a..f164252fbd 100644
--- a/protocols/JabberG/src/jabber_userinfo.cpp
+++ b/protocols/JabberG/src/jabber_userinfo.cpp
@@ -497,7 +497,7 @@ public:
if (nReturnCmd == 1) {
CMStringW buf;
GetNodeText(pos->hItem, buf);
- JabberCopyText(m_hwnd, buf);
+ Utils_ClipboardCopy(buf);
}
else if (nReturnCmd == 2) {
wchar_t szBuffer[1024];
@@ -508,9 +508,9 @@ public:
tvi.pszText = szBuffer;
if (m_tree.GetItem(&tvi)) {
if (wchar_t *str = wcsstr(szBuffer, L": "))
- JabberCopyText(m_hwnd, str + 2);
+ Utils_ClipboardCopy(str + 2);
else
- JabberCopyText(m_hwnd, szBuffer);
+ Utils_ClipboardCopy(szBuffer);
}
}
DestroyMenu(hMenu);