summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/chat.cpp')
-rw-r--r--protocols/AimOscar/src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/chat.cpp b/protocols/AimOscar/src/chat.cpp
index 384a08fa18..73b8a61b91 100644
--- a/protocols/AimOscar/src/chat.cpp
+++ b/protocols/AimOscar/src/chat.cpp
@@ -122,7 +122,7 @@ int CAimProto::OnGCEvent(WPARAM, LPARAM lParam)
break;
case GC_USER_MESSAGE:
- if (gch->ptszText && _tcslen(gch->ptszText))
+ if (gch->ptszText && mir_tstrlen(gch->ptszText))
{
char* msg = mir_utf8encodeT(gch->ptszText);
aim_chat_send_message(item->hconn, item->seqno, msg);