summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src')
-rw-r--r--protocols/ICQCorp/src/services.cpp2
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;
}