diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-29 12:43:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-29 12:43:12 +0000 |
commit | 42e4b4f3f694f788d8c3273b23bb79e7e0809e19 (patch) | |
tree | 93583de1cacd6c92147238c8598a6553019db8ca /plugins/Clist_blind/src/clcpaint.cpp | |
parent | 291a399a0c9b46622791fe253e38775dbf88cc09 (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/clcpaint.cpp')
-rw-r--r-- | plugins/Clist_blind/src/clcpaint.cpp | 4 |
1 files changed, 2 insertions, 2 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;
|