summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/input.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-13 20:44:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-13 20:44:59 +0000
commit599a5983835aa52c30eec4ebcaddc13e9c84685c (patch)
tree48760f79ae6e8a82f5c1cc08e7bcdd7196f03800 /plugins/Scriver/src/input.cpp
parent51b5164fd6c0ea0de58e4398e515dd73a0e12620 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4450 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/input.cpp')
-rw-r--r--plugins/Scriver/src/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp
index a0c2f58178..184bdc4a3e 100644
--- a/plugins/Scriver/src/input.cpp
+++ b/plugins/Scriver/src/input.cpp
@@ -98,10 +98,10 @@ void InputAreaContextMenu(HWND hwnd, WPARAM wParam, LPARAM lParam, HANDLE hConta
SendMessage(hwnd, WM_COPY, 0, 0);
break;
case IDM_PASTE:
- SendMessage(hwnd, WM_PASTE, 0, 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: