summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_cachefuncs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-23 14:46:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-23 14:46:56 +0000
commit286f6d8ed325ca5f726e6ba5fad86fb834d51c16 (patch)
tree748642f7c8d719842070cfdcbb124438b86d6eed /plugins/Clist_modern/src/modern_cachefuncs.cpp
parent439c6760bf51d44e22b7147d54e1f38ce8e1dbab (diff)
fix for wrongly named variables
git-svn-id: http://svn.miranda-ng.org/main/trunk@16865 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}