diff options
Diffstat (limited to 'plugins/MobileState')
-rw-r--r-- | plugins/MobileState/src/clients.h | 2 | ||||
-rw-r--r-- | plugins/MobileState/src/main.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MobileState/src/clients.h b/plugins/MobileState/src/clients.h index b9c87ae6e5..a7f6041ff2 100644 --- a/plugins/MobileState/src/clients.h +++ b/plugins/MobileState/src/clients.h @@ -19,7 +19,7 @@ #pragma once
-static const TCHAR *clients[] = {
+static const wchar_t *clients[] = {
L"android",
L"mobile",
L"pda",
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 7b1b1ebceb..b18452a7d8 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -57,11 +57,11 @@ bool hasMobileClient(MCONTACT hContact, LPARAM) ptrT client(db_get_tsa(hContact, proto, "MirVer"));
if (client) {
// Make client lower-case
- _tcslwr(client);
+ wcslwr(client);
// Find whether this client contain something from clients list
for (size_t i = 0; i < _countof(clients); i++)
- if (_tcsstr(client, clients[i]))
+ if (wcsstr(client, clients[i]))
return true;
}
|