From 86d2407716be2fac39fd2b64b0af6cdf6bb5dd01 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 Aug 2017 14:41:39 +0300 Subject: Scriver: swapped MSG_SENDMESSAGE workers --- plugins/Scriver/src/msgs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 3a977d8c62..617619f89f 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -163,12 +163,12 @@ static INT_PTR SendMessageCommandWorker(MCONTACT hContact, wchar_t *pszMsg) static INT_PTR SendMessageCommandW(WPARAM hContact, LPARAM lParam) { - return SendMessageCommandWorker(hContact, mir_a2u(LPCSTR(lParam))); + return SendMessageCommandWorker(hContact, mir_wstrdup(LPCWSTR(lParam))); } static INT_PTR SendMessageCommand(WPARAM hContact, LPARAM lParam) { - return SendMessageCommandWorker(hContact, mir_wstrdup(LPCWSTR(lParam))); + return SendMessageCommandWorker(hContact, mir_a2u(LPCSTR(lParam))); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3