summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clcitems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src/clcitems.cpp')
-rw-r--r--plugins/Clist_mw/src/clcitems.cpp7
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);
}
}