summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-08 20:04:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-08 20:04:24 +0000
commit75b84796d6d14b9df136f4ea47d87aff3cfa5c90 (patch)
treee9e1d95081758aacc58bfb8173c974009a5e9c53 /plugins/AVS/src/services.cpp
parent0f869bffb767a7fb2e3ceb4b081ba1ec6953dbfd (diff)
code cleaning:
- (MCONTACT)-1 replaced with INVALID_CONTACT_ID; - DBVARIANT+db_get_ts replaced with ptrT+db_get_tsa; - VARST added for path reading; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src/services.cpp')
-rw-r--r--plugins/AVS/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp
index 58f707b366..035eb83cdb 100644
--- a/plugins/AVS/src/services.cpp
+++ b/plugins/AVS/src/services.cpp
@@ -832,7 +832,7 @@ static void ReloadMyAvatar(LPVOID lpParam)
if (g_MyAvatars[i].hbmPic)
DeleteObject(g_MyAvatars[i].hbmPic);
- if (CreateAvatarInCache((MCONTACT)-1, &g_MyAvatars[i], myAvatarProto) != -1)
+ if (CreateAvatarInCache(INVALID_CONTACT_ID, &g_MyAvatars[i], myAvatarProto) != -1)
NotifyEventHooks(hMyAvatarChanged, (WPARAM)myAvatarProto, (LPARAM)&g_MyAvatars[i]);
else
NotifyEventHooks(hMyAvatarChanged, (WPARAM)myAvatarProto, 0);