diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-17 10:58:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-17 10:58:27 +0300 |
commit | ad306ac6ccc9ad3fc346d67140f6bcdb71857b7c (patch) | |
tree | 9853855168f23e65c58894b5706cc672919b8e1a /protocols | |
parent | 2b2fccea368d2cf6639c037c771f65e4b285afdd (diff) |
ICQCorp: fix for sending messages in utf8
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQCorp/src/services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQCorp/src/services.cpp b/protocols/ICQCorp/src/services.cpp index 91c3856b39..90f4354331 100644 --- a/protocols/ICQCorp/src/services.cpp +++ b/protocols/ICQCorp/src/services.cpp @@ -182,7 +182,7 @@ static INT_PTR icqSendMessage(WPARAM, LPARAM lParam) if (u == nullptr || icq.statusVal <= ID_STATUS_OFFLINE)
return 0;
- ICQEvent *icqEvent = icq.sendMessage(u, (char*)ccs->lParam);
+ ICQEvent *icqEvent = icq.sendMessage(u, ptrA(mir_utf8decodeA((char*)ccs->lParam)));
return icqEvent ? icqEvent->sequence : 0;
}
|