From 42e4b4f3f694f788d8c3273b23bb79e7e0809e19 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 29 May 2016 12:43:12 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16885 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_blind/src/clcpaint.cpp | 4 ++-- plugins/Clist_blind/src/init.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_blind') 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: -- cgit v1.2.3