diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-07 14:29:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-07 14:29:43 +0000 |
commit | f3bd86cba781bb179169419de8101ab32ba0760e (patch) | |
tree | bede0aabe2fff0c1441e965b3a972a5928b7f387 /src/modules/clist/clcutils.cpp | |
parent | 2ff97d940cc269e7466ea95354e80f04c9483df7 (diff) |
fix for extra icons in the Visibility & Events Ignore options' dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@2231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clcutils.cpp')
-rw-r--r-- | src/modules/clist/clcutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/clcutils.cpp b/src/modules/clist/clcutils.cpp index 97b0db6abb..9c1fb44956 100644 --- a/src/modules/clist/clcutils.cpp +++ b/src/modules/clist/clcutils.cpp @@ -154,7 +154,7 @@ int fnHitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact * }
for (i=0; i < dat->extraColumnsCount; i++) {
- if (hitcontact->iExtraImage[i] == 0xFFFF)
+ if (hitcontact->iExtraImage[i] == EMPTY_EXTRA_ICON)
continue;
if (testx >= clRect.right - dat->extraColumnSpacing * (dat->extraColumnsCount - i) &&
testx < clRect.right - dat->extraColumnSpacing * (dat->extraColumnsCount - i) + g_IconWidth) {
|