summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-09 22:56:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-09 22:56:52 +0000
commit3c835ffde2e9d9aad789f222413f99e878efa157 (patch)
tree58c1f5b2f8acd6c076048094a4de6b210e7e4a4b /plugins/Clist_nicer/src/clcutils.cpp
parentc274523d9bc253461a3c337d66e09532edae6edd (diff)
nicer+ own extra icons spacing settings removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcutils.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clcutils.cpp b/plugins/Clist_nicer/src/clcutils.cpp
index fc98a70894..4028701cb9 100644
--- a/plugins/Clist_nicer/src/clcutils.cpp
+++ b/plugins/Clist_nicer/src/clcutils.cpp
@@ -136,8 +136,8 @@ int RTL_HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact
if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
- rightOffset -= cfg::dat.exIconScale + 2;
- if (testx > rightOffset && testx < rightOffset + cfg::dat.exIconScale ) {
+ rightOffset -= dat->extraColumnSpacing;
+ if (testx > rightOffset && testx < rightOffset + dat->extraColumnSpacing ) {
if (flags)
*flags |= (CLCHT_ONITEMEXTRA | (i << 24));
return hit;
@@ -277,8 +277,8 @@ int HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact **c
if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
- rightOffset -= cfg::dat.exIconScale+2;
- if (testx > rightOffset && testx < rightOffset + cfg::dat.exIconScale) {
+ rightOffset -= dat->extraColumnSpacing;
+ if (testx > rightOffset && testx < rightOffset + dat->extraColumnSpacing) {
if (flags)
*flags |= (CLCHT_ONITEMEXTRA | (i << 24));
return hit;