diff options
Diffstat (limited to 'src/modules/options/iconheader.cpp')
-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 d5858d7e33..d9d6f9deb6 100644 --- a/src/modules/options/iconheader.cpp +++ b/src/modules/options/iconheader.cpp @@ -504,7 +504,7 @@ static LRESULT CALLBACK MIcoTabWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L }
case ITCM_SETSEL:
- if (wParam >= 0 && (int)wParam < itc->pList.getCount()) {
+ if ((int)wParam >= 0 && (int)wParam < itc->pList.getCount()) {
itc->nSelectedIdx = wParam;
SetWindowText(hwndDlg, itc->pList[itc->nSelectedIdx]->tcsName);
RedrawWindow(hwndDlg, NULL, NULL, RDW_INVALIDATE);
|