diff options
Diffstat (limited to 'protocols/Steam/src/Junk/steam_thread.cpp')
-rw-r--r-- | protocols/Steam/src/Junk/steam_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/Junk/steam_thread.cpp b/protocols/Steam/src/Junk/steam_thread.cpp index 98915f87cd..f07541c6d3 100644 --- a/protocols/Steam/src/Junk/steam_thread.cpp +++ b/protocols/Steam/src/Junk/steam_thread.cpp @@ -45,7 +45,7 @@ void CSteamProto::PollServer(const char *token, const char *umqId, UINT32 messag {
const wchar_t *text = message->GetText();
- AddDBEvent(hContact, EVENTTYPE_MESSAGE, time(NULL), DBEF_UTF | DBEF_SENT, lstrlen(text), (BYTE*)mir_utf8encodeW(text));
+ AddDBEvent(hContact, EVENTTYPE_MESSAGE, time(NULL), DBEF_UTF | DBEF_SENT, mir_tstrlen(text), (BYTE*)mir_utf8encodeW(text));
}
}
break;
|