summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_login.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /protocols/Steam/src/steam_login.cpp
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r--protocols/Steam/src/steam_login.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index 979fc03c7e..fd8d7399f7 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -31,7 +31,7 @@ bool CSteamProto::Relogin()
JSONNode *node = json_get(root, "error");
ptrT error(json_as_string(node));
- if (!mir_tstrcmpi(error, _T("OK")))
+ if (!mir_tstrcmpi(error, L"OK"))
{
node = json_get(root, "umqid");
setString("UMQID", ptrA(mir_u2a(ptrT(json_as_string(node)))));
@@ -151,7 +151,7 @@ void CSteamProto::OnAuthorizationError(const JSONNode &node)
ptrT messageT(mir_utf8decodeT(message.c_str()));
debugLogA("CSteamProto::OnAuthorizationError: %s", message.c_str());
- if (!mir_tstrcmpi(messageT, _T("Incorrect login.")))
+ if (!mir_tstrcmpi(messageT, L"Incorrect login."))
{
// We can't continue with incorrect login/password
DeleteAuthSettings();
@@ -325,7 +325,7 @@ void CSteamProto::HandleTokenExpired()
// Try to relogin automatically (but only once)
if (isLoginAgain) {
// Notify error to user
- ShowNotification(_T("Steam"), TranslateT("Cannot obtain connection token."));
+ ShowNotification(L"Steam", TranslateT("Cannot obtain connection token."));
// Just go offline; it also resets the isLoginAgain to false
SetStatus(ID_STATUS_OFFLINE);
@@ -358,7 +358,7 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response)
}
// Probably timeout or no connection, we can do nothing here
- ShowNotification(_T("Steam"), TranslateT("Unknown login error."));
+ ShowNotification(L"Steam", TranslateT("Unknown login error."));
SetStatus(ID_STATUS_OFFLINE);
return;
@@ -368,7 +368,7 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response)
JSONNode *node = json_get(root, "error");
ptrT error(json_as_string(node));
- if (mir_tstrcmpi(error, _T("OK")))
+ if (mir_tstrcmpi(error, L"OK"))
{
// Probably expired TokenSecret
HandleTokenExpired();