summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/input.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-21 16:11:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-21 16:11:20 +0000
commite80241cc3e2964c49abfd34ee1df8b9d900b1e8c (patch)
treef312c03ab124d2b012ab50ef83a47347db19c2f6 /plugins/Scriver/src/input.cpp
parent78e038845b9fd52d4ac8faf0efcccfc4a82626c1 (diff)
fix for rest of ansi shit in Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@11887 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/input.cpp')
-rw-r--r--plugins/Scriver/src/input.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp
index 92005d849a..463bd96ce3 100644
--- a/plugins/Scriver/src/input.cpp
+++ b/plugins/Scriver/src/input.cpp
@@ -96,10 +96,10 @@ void InputAreaContextMenu(HWND hwnd, WPARAM, LPARAM lParam, MCONTACT hContact)
SendMessage(hwnd, WM_COPY, 0, 0);
break;
case IDM_PASTE:
- SendMessage(hwnd, EM_PASTESPECIAL, CF_TEXT, 0);
+ SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
break;
case IDM_PASTESEND:
- SendMessage(hwnd, EM_PASTESPECIAL, CF_TEXT, 0);
+ SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
PostMessage(GetParent(hwnd), WM_COMMAND, IDOK, 0);
break;
case IDM_DELETE:
@@ -175,7 +175,7 @@ int InputAreaShortcuts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, Common
return FALSE;
case KB_PASTESEND:
if (SendMessage(hwnd, EM_CANPASTE, 0, 0)) {
- SendMessage(hwnd, EM_PASTESPECIAL, CF_TEXT, 0);
+ SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
PostMessage(GetParent(hwnd), WM_COMMAND, IDOK, 0);
}
return FALSE;