summaryrefslogtreecommitdiff
path: root/plugins/MobileState/src/main.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-01-23 20:23:31 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-01-23 20:23:31 +0000
commit0314c6e414e054b0c08b788433d51583a71b5028 (patch)
treee2a162c74ead661de005dc0acd659bfab533d145 /plugins/MobileState/src/main.cpp
parent27ce9521078335a4333a637e73dd74b338986ea6 (diff)
small change to detect "Windows Phone", project fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MobileState/src/main.cpp')
-rw-r--r--plugins/MobileState/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp
index d934e811e4..739877cfa3 100644
--- a/plugins/MobileState/src/main.cpp
+++ b/plugins/MobileState/src/main.cpp
@@ -56,9 +56,9 @@ bool hasMobileClient(HANDLE hContact, LPARAM lParam)
char *proto = GetContactProto(hContact);
DBVARIANT dbv;
- if (!DBGetContactSettingTString(hContact, proto, "MirVer", &dbv)) {
+ if (!db_get_ts(hContact, proto, "MirVer", &dbv)) {
TCHAR *client = _tcslwr(NEWTSTR_ALLOCA(dbv.ptszVal));
- DBFreeVariant(&dbv);
+ db_free(&dbv);
for (size_t i=0; i<(sizeof(clients) / sizeof(TCHAR*)); i++)
if (_tcsstr(client, clients[i]))