diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-21 16:11:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-21 16:11:20 +0000 |
commit | e80241cc3e2964c49abfd34ee1df8b9d900b1e8c (patch) | |
tree | f312c03ab124d2b012ab50ef83a47347db19c2f6 /plugins | |
parent | 78e038845b9fd52d4ac8faf0efcccfc4a82626c1 (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')
-rw-r--r-- | plugins/Scriver/src/chat/window.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/input.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index d034d768e4..a642d0719a 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -430,7 +430,7 @@ static LRESULT CALLBACK MessageSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, }
if (((wParam == VK_INSERT && isShift) || (wParam == 'V' && isCtrl)) && !isAlt) { // ctrl-v (paste clean text)
- SendMessage(hwnd, EM_PASTESPECIAL, CF_TEXT, 0);
+ SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
return TRUE;
}
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;
|