From 32f40b0ecb51fe9bee56e4f7ce2476c4cff53bed Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Nov 2012 15:52:04 +0000 Subject: 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 --- src/modules/clist/clcutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/clist/clcutils.cpp') 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; -- cgit v1.2.3