diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-24 13:54:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-24 13:54:36 +0000 |
commit | b3efd156b2ded1777ee2b4522acba1fa2d666ca7 (patch) | |
tree | 7a14d93203f83e33e7100fb0f7e4e48c4831bb2e /src/core | |
parent | 35b85950a7e144da1c1390e6cd5dcae5adea61bc (diff) |
group processing code standardization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16869 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdclist/src/clcpaint.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/stdclist/src/clcpaint.cpp b/src/core/stdclist/src/clcpaint.cpp index 2df1197160..49afb4ab9f 100644 --- a/src/core/stdclist/src/clcpaint.cpp +++ b/src/core/stdclist/src/clcpaint.cpp @@ -266,11 +266,10 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) int indent = 0;
for (int index = 0; y < rcPaint->bottom;) {
if (group->scanIndex == group->cl.count) {
- group = group->parent;
- indent--;
- if (group == NULL)
+ if ((group = group->parent) == NULL)
break;
group->scanIndex++;
+ indent--;
continue;
}
|