diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
commit | ddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch) | |
tree | d4eb46f481a47b6e16e40b39860e830e40f9dbcf /protocols/FacebookRM/src/json.cpp | |
parent | cc3be4384048697fe9b7716c11b7bd726b9ca650 (diff) |
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 68d3934e0f..2ab26361da 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -763,16 +763,16 @@ int facebook_json_parser::parse_messages(std::string *pData, std::vector<faceboo wchar_t *client; if (vc == 0) { - client = _T(FACEBOOK_CLIENT_WEB); + client = FACEBOOK_CLIENT_WEB; } else if (vc == 8) { - client = _T(FACEBOOK_CLIENT_MESSENGER); // I was online on Miranda, but when looked at myself at messenger.com I had icon of Messenger. + client = FACEBOOK_CLIENT_MESSENGER; // I was online on Miranda, but when looked at myself at messenger.com I had icon of Messenger. } else if (vc == 10) { - client = _T(FACEBOOK_CLIENT_MOBILE); + client = FACEBOOK_CLIENT_MOBILE; } else { - client = _T(FACEBOOK_CLIENT_OTHER); + client = FACEBOOK_CLIENT_OTHER; } ptrT oldClient(proto->getTStringA(hContact, "MirVer")); @@ -877,21 +877,21 @@ int facebook_json_parser::parse_messages(std::string *pData, std::vector<faceboo } // Probably means client: guess 0 = web, 8 = messenger, 10 = something else? if (vc_) { - wchar_t *client = _T(FACEBOOK_CLIENT_WEB); + wchar_t *client = FACEBOOK_CLIENT_WEB; /*if (vc == 0) { // means active some time ago? (on messenger or also on web) - client = _T(FACEBOOK_CLIENT_WEB); + client = FACEBOOK_CLIENT_WEB; } else if (vc == 8) { - client = _T(FACEBOOK_CLIENT_MESSENGER); // I was online on Miranda, but when looked at myself at messenger.com I had icon of Messenger. + client = FACEBOOK_CLIENT_MESSENGER; // I was online on Miranda, but when looked at myself at messenger.com I had icon of Messenger. } else if (vc == 10) { // means actually active on messenger - client = _T(FACEBOOK_CLIENT_MOBILE); + client = FACEBOOK_CLIENT_MOBILE; } else { - client = _T(FACEBOOK_CLIENT_OTHER); + client = FACEBOOK_CLIENT_OTHER; }*/ ptrT oldClient(proto->getTStringA(hContact, "MirVer")); |