summaryrefslogtreecommitdiff
path: root/src/modules/options
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-10-18 20:05:08 +0000
commit8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch)
treeb313623e6ba187922ce2a8328b1d48b8a9b37b7a /src/modules/options
parentbef8ac146a1f276261ff617fe0f1086bf2f3c85d (diff)
small code warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options')
-rw-r--r--src/modules/options/iconheader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/options/iconheader.cpp b/src/modules/options/iconheader.cpp
index 184ca6c4a7..a185e1aecd 100644
--- a/src/modules/options/iconheader.cpp
+++ b/src/modules/options/iconheader.cpp
@@ -517,7 +517,7 @@ static LRESULT CALLBACK MIcoTabWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L
return itc->nSelectedIdx;
case ITCM_GETITEMDATA:
- if (wParam >= 0 && (int)wParam < itc->pList.getCount())
+ if ((int)wParam < itc->pList.getCount())
return ((MIcoTab *)itc->pList[wParam])->data;
return 0;