summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-29 12:43:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-29 12:43:12 +0000
commit42e4b4f3f694f788d8c3273b23bb79e7e0809e19 (patch)
tree93583de1cacd6c92147238c8598a6553019db8ca /plugins/Clist_blind/src
parent291a399a0c9b46622791fe253e38775dbf88cc09 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16885 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_blind/src')
-rw-r--r--plugins/Clist_blind/src/clcpaint.cpp4
-rw-r--r--plugins/Clist_blind/src/init.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_blind/src/clcpaint.cpp b/plugins/Clist_blind/src/clcpaint.cpp
index 3364feb5cf..d05040bc0c 100644
--- a/plugins/Clist_blind/src/clcpaint.cpp
+++ b/plugins/Clist_blind/src/clcpaint.cpp
@@ -253,7 +253,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint)
group->scanIndex = 0;
indent = 0;
for (index = 0; y < rcPaint->bottom;) {
- if (group->scanIndex == group->cl.count) {
+ if (group->scanIndex == group->cl.getCount()) {
group = group->parent;
indent--;
if (group == NULL)
@@ -262,7 +262,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint)
continue;
}
- ClcContact *cc = group->cl.items[group->scanIndex];
+ ClcContact *cc = group->cl[group->scanIndex];
if (y > rcPaint->top - dat->rowHeight) {
int iImage = -1;
int selected = index == dat->selection && (dat->bShowSelAlways || dat->exStyle & CLS_EX_SHOWSELALWAYS || GetFocus() == hwnd) && cc->type != CLCIT_DIVIDER;
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp
index eeaad5f1c4..6a0a3a4d43 100644
--- a/plugins/Clist_blind/src/init.cpp
+++ b/plugins/Clist_blind/src/init.cpp
@@ -512,7 +512,7 @@ void RebuildEntireListInternal(HWND hwnd, ClcData *tmp_dat, BOOL call_orig)
TCHAR *text = tmp;
size_t size = _countof(tmp);
while (true) {
- if (group->scanIndex == group->cl.count) {
+ if (group->scanIndex == group->cl.getCount()) {
group = group->parent;
if (group == NULL)
break;
@@ -522,7 +522,7 @@ void RebuildEntireListInternal(HWND hwnd, ClcData *tmp_dat, BOOL call_orig)
continue;
}
- ClcContact *item = group->cl.items[group->scanIndex];
+ ClcContact *item = group->cl[group->scanIndex];
text[0] = _T('\0');
switch (item->type) {
case CLCIT_GROUP: