From ccf1e327243dc593c5a771b60d1efbf71fdebf39 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2012 09:54:42 +0000 Subject: bunch of minor bugfixes git-svn-id: http://svn.miranda-ng.org/main/trunk@195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Svc_vi/dlgHandlers.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/Svc_vi/dlgHandlers.cpp') diff --git a/plugins/Svc_vi/dlgHandlers.cpp b/plugins/Svc_vi/dlgHandlers.cpp index 520ee97ceb..937cdbef18 100644 --- a/plugins/Svc_vi/dlgHandlers.cpp +++ b/plugins/Svc_vi/dlgHandlers.cpp @@ -559,7 +559,11 @@ INT_PTR CALLBACK DialogBoxProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam lptstrCopy[length] = '\0'; GlobalUnlock(hData); //Now set the clipboard data. - SetClipboardData(CF_TEXT, hData); + #if defined( _UNICODE ) + SetClipboardData(CF_UNICODETEXT, hData); + #else + SetClipboardData(CF_TEXT, hData); + #endif //Remove the lock on the clipboard. CloseClipboard(); } -- cgit v1.2.3