From ad306ac6ccc9ad3fc346d67140f6bcdb71857b7c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Jan 2018 10:58:27 +0300 Subject: ICQCorp: fix for sending messages in utf8 --- protocols/ICQCorp/src/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/ICQCorp/src') 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; } -- cgit v1.2.3