diff options
author | George Hazan <george.hazan@gmail.com> | 2014-04-08 17:54:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-04-08 17:54:19 +0000 |
commit | 78dc54f9e392b45492a2b726d6268c41f594eb41 (patch) | |
tree | fa1180153a3ac3610f22ad9f7b002d2a348c2ea5 /plugins/Clist_mw/src/clcitems.cpp | |
parent | afa73da4259ee9a00e60570031f94338542636d8 (diff) |
bunch of mc related fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clcitems.cpp')
-rw-r--r-- | plugins/Clist_mw/src/clcitems.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/clcitems.cpp b/plugins/Clist_mw/src/clcitems.cpp index 2965d4fa7b..0e67a18318 100644 --- a/plugins/Clist_mw/src/clcitems.cpp +++ b/plugins/Clist_mw/src/clcitems.cpp @@ -247,10 +247,11 @@ void AddContactToTree(HWND hwnd, ClcData *dat, MCONTACT hContact, int updateTota return;
}
}
- ClcContact *cont = AddContactToGroup(dat,group,cacheEntry);
+
+ ClcContact *cont = AddContactToGroup(dat, group, cacheEntry);
if (cont && cont->proto) {
cont->SubAllocated = 0;
- if (strcmp(cont->proto,"MetaContacts") == 0)
+ if (strcmp(cont->proto, META_PROTO) == 0)
AddSubcontacts(cont);
}
if (updateTotalCount)
@@ -380,7 +381,7 @@ void RebuildEntireList(HWND hwnd,struct ClcData *dat) }
if (cont && cont->proto) {
cont->SubAllocated = 0;
- if (strcmp(cont->proto,"MetaContacts") == 0)
+ if (strcmp(cont->proto, META_PROTO) == 0)
AddSubcontacts(cont);
}
}
|