diff options
-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;
|