summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-03 14:41:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-03 14:41:39 +0300
commit86d2407716be2fac39fd2b64b0af6cdf6bb5dd01 (patch)
treefcf7116bd1cea48925520a28df3b0ea4a6c2ae28 /plugins/Scriver
parent0759816934ba1f223451449f2fefad938217017c (diff)
Scriver: swapped MSG_SENDMESSAGE workers
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp4
1 files changed, 2 insertions, 2 deletions
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)));
}
/////////////////////////////////////////////////////////////////////////////////////////