diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-03 14:41:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-03 14:41:39 +0300 |
commit | 86d2407716be2fac39fd2b64b0af6cdf6bb5dd01 (patch) | |
tree | fcf7116bd1cea48925520a28df3b0ea4a6c2ae28 | |
parent | 0759816934ba1f223451449f2fefad938217017c (diff) |
Scriver: swapped MSG_SENDMESSAGE workers
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 4 |
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)));
}
/////////////////////////////////////////////////////////////////////////////////////////
|