diff options
Diffstat (limited to 'src')
-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;
|