summaryrefslogtreecommitdiff
path: root/src/modules/clist/clcutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-19 15:52:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-19 15:52:04 +0000
commit32f40b0ecb51fe9bee56e4f7ce2476c4cff53bed (patch)
treedbf5e3064466b586e119b02eeb3e46b9b92a3dde /src/modules/clist/clcutils.cpp
parentf0f5dcabc9e151952443efa16bd95befbb36cbaf (diff)
fixes for clist classic:
- lines are drawn correctly alongside the groups; - extra icons columns clicks are calculated correctly; git-svn-id: http://svn.miranda-ng.org/main/trunk@2378 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clcutils.cpp')
-rw-r--r--src/modules/clist/clcutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/clcutils.cpp b/src/modules/clist/clcutils.cpp
index e3ae2be605..f5ef96f917 100644
--- a/src/modules/clist/clcutils.cpp
+++ b/src/modules/clist/clcutils.cpp
@@ -152,7 +152,7 @@ int fnHitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact *
}
int eiOffset = 0;
- for (i=0; i < dat->extraColumnsCount; i++) {
+ for (i = dat->extraColumnsCount-1; i >= 0; i--) {
if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;