summaryrefslogtreecommitdiff
path: root/plugins/Svc_vi/dlgHandlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Svc_vi/dlgHandlers.cpp')
-rw-r--r--plugins/Svc_vi/dlgHandlers.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Svc_vi/dlgHandlers.cpp b/plugins/Svc_vi/dlgHandlers.cpp
index 73eee44c0a..a1a81e6a51 100644
--- a/plugins/Svc_vi/dlgHandlers.cpp
+++ b/plugins/Svc_vi/dlgHandlers.cpp
@@ -559,11 +559,9 @@ INT_PTR CALLBACK DialogBoxProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam
lptstrCopy[length] = '\0';
GlobalUnlock(hData);
//Now set the clipboard data.
- #if defined( _UNICODE )
+
SetClipboardData(CF_UNICODETEXT, hData);
- #else
- SetClipboardData(CF_TEXT, hData);
- #endif
+
//Remove the lock on the clipboard.
CloseClipboard();
}