diff options
Diffstat (limited to 'plugins/MobileState/src')
-rw-r--r-- | plugins/MobileState/src/main.cpp | 4 | ||||
-rw-r--r-- | plugins/MobileState/src/version.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 86c51de58b..30fab7c64d 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -56,6 +56,10 @@ bool hasMobileClient(MCONTACT hContact, LPARAM) ptrT client(db_get_tsa(hContact, proto, "MirVer"));
if (client) {
+ // Make client lower-case
+ _tcslwr(client);
+
+ // Find whether this client contain something from clients list
for (size_t i = 0; i < SIZEOF(clients); i++)
if (_tcsstr(client, clients[i]))
return true;
diff --git a/plugins/MobileState/src/version.h b/plugins/MobileState/src/version.h index ffca7bc806..d62e49d6b9 100644 --- a/plugins/MobileState/src/version.h +++ b/plugins/MobileState/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 1
-#define __BUILD_NUM 5
+#define __BUILD_NUM 6
#include <stdver.h>
|