From e80241cc3e2964c49abfd34ee1df8b9d900b1e8c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 21 Jan 2015 16:11:20 +0000 Subject: fix for rest of ansi shit in Scriver git-svn-id: http://svn.miranda-ng.org/main/trunk@11887 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/chat/window.cpp | 2 +- plugins/Scriver/src/input.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') 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; -- cgit v1.2.3