From 139cfdf630b6257529a3f4bad40463e73fc38d7d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jun 2014 14:42:45 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@9397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/options/iconheader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/options') 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); -- cgit v1.2.3