summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.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/main.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/main.cpp')
-rw-r--r--plugins/AVS/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp
index 42ebac3b36..c122e1f410 100644
--- a/plugins/AVS/src/main.cpp
+++ b/plugins/AVS/src/main.cpp
@@ -185,7 +185,7 @@ static void LoadAccountInfo(PROTOACCOUNT *acc)
g_ProtoPictures.insert(pce);
pce = new protoPicCacheEntry;
- CreateAvatarInCache((MCONTACT)-1, pce, acc->szModuleName);
+ CreateAvatarInCache(INVALID_CONTACT_ID, pce, acc->szModuleName);
pce->szProtoname = mir_strdup(acc->szModuleName);
pce->tszAccName = mir_tstrdup(acc->tszAccountName);
g_MyAvatars.insert(pce);
@@ -384,7 +384,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
// Load global avatar
protoPicCacheEntry *pce = new protoPicCacheEntry;
- CreateAvatarInCache((MCONTACT)-1, pce, "");
+ CreateAvatarInCache(INVALID_CONTACT_ID, pce, "");
pce->szProtoname = mir_strdup("");
g_MyAvatars.insert(pce);