diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-07 14:53:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-07 14:53:21 +0000 |
commit | c625ddaf81f7481bffcd528ed3012fdc3a6bc8e1 (patch) | |
tree | 9a2f26824142e0bd53b5332c2a00d86137370a51 /plugins/Clist_mw/src/clcutils.cpp | |
parent | f3bd86cba781bb179169419de8101ab32ba0760e (diff) |
EMPTY_EXTRA_ICON applied to all another plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@2232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clcutils.cpp')
-rw-r--r-- | plugins/Clist_mw/src/clcutils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/clcutils.cpp b/plugins/Clist_mw/src/clcutils.cpp index aca0b80d1f..c7d467e889 100644 --- a/plugins/Clist_mw/src/clcutils.cpp +++ b/plugins/Clist_mw/src/clcutils.cpp @@ -90,9 +90,9 @@ int HitTest(HWND hwnd,struct ClcData *dat,int testx,int testy,struct ClcContact cxSmIcon = GetSystemMetrics(SM_CXSMICON);
- for (i = 0;i<dat->extraColumnsCount;i++) {
+ for (i=0; i < dat->extraColumnsCount; i++) {
int x;
- if (hitcontact->iExtraImage[i] == 0xFFFF)
+ if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
if ((style & CLS_EX_MULTICOLUMNALIGNLEFT)) {
@@ -106,7 +106,7 @@ int HitTest(HWND hwnd,struct ClcData *dat,int testx,int testy,struct ClcContact if (dat->MetaIgnoreEmptyExtra) {
ir = 0;
for (int j = i;j<dat->extraColumnsCount;j++)
- if (hitcontact->iExtraImage[j] != 0xFFFF)
+ if (hitcontact->iExtraImage[j] != EMPTY_EXTRA_ICON)
ir++;
}
else ir = dat->extraColumnsCount-i;
|