summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/jabber_groupchat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/JabberG/jabber_groupchat.cpp b/protocols/JabberG/jabber_groupchat.cpp
index 4f6dde53df..6a60c59113 100644
--- a/protocols/JabberG/jabber_groupchat.cpp
+++ b/protocols/JabberG/jabber_groupchat.cpp
@@ -500,11 +500,8 @@ void CJabberDlgGcJoin::OnInitDialog()
else
{
OpenClipboard(m_hwnd);
-#ifdef UNICODE
HANDLE hData = GetClipboardData(CF_UNICODETEXT);
-#else
- HANDLE hData = GetClipboardData(CF_TEXT);
-#endif
+
if (hData)
{
TCHAR *buf = (TCHAR *)GlobalLock(hData);