diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-18 20:05:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-18 20:05:08 +0000 |
commit | 8c5cf9634f560f7dd3976d762573071d9fca31b3 (patch) | |
tree | b313623e6ba187922ce2a8328b1d48b8a9b37b7a /src/modules/options | |
parent | bef8ac146a1f276261ff617fe0f1086bf2f3c85d (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.cpp | 2 |
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;
|