summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_cachefuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_cachefuncs.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_cachefuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp
index 58d61c52bd..99d5a93fcc 100644
--- a/plugins/Clist_modern/src/modern_cachefuncs.cpp
+++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp
@@ -607,8 +607,8 @@ static BOOL ExecuteOnAllContactsOfGroup(ClcGroup *group, ExecuteOnAllContactsFun
if (!func(group->cl.items[scanIndex], FALSE, param))
return FALSE;
- if (group->cl.items[scanIndex]->SubAllocated > 0) {
- for (int i = 0; i < group->cl.items[scanIndex]->SubAllocated; i++)
+ if (group->cl.items[scanIndex]->iSubAllocated > 0) {
+ for (int i = 0; i < group->cl.items[scanIndex]->iSubAllocated; i++)
if (!func(&group->cl.items[scanIndex]->subcontacts[i], TRUE, param))
return FALSE;
}