diff options
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/steam_pooling.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_queue.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp index 912af1e7a5..4ea31428e8 100644 --- a/protocols/Steam/src/steam_pooling.cpp +++ b/protocols/Steam/src/steam_pooling.cpp @@ -30,7 +30,7 @@ void CSteamProto::ParsePollData(JSONNODE *data) node = json_get(item, "text"); ptrT text(json_as_string(node)); - ptrA szMessage(mir_utf8encodeT(text)); + T2Utf szMessage(text); if (_tcsstr(type, _T("my_")) == NULL) { diff --git a/protocols/Steam/src/steam_queue.cpp b/protocols/Steam/src/steam_queue.cpp index fee24bee64..c838b91294 100644 --- a/protocols/Steam/src/steam_queue.cpp +++ b/protocols/Steam/src/steam_queue.cpp @@ -36,7 +36,7 @@ void CSteamProto::StartQueue() } else { - ptrA username(mir_urlEncode(ptrA(mir_utf8encodeT(getTStringA("Username"))))); + ptrA username(mir_urlEncode(T2Utf(getTStringA("Username")))); if (username == NULL || username[0] == '\0') return; |