summaryrefslogtreecommitdiff
path: root/src/modules/options
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-02 14:42:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-02 14:42:45 +0000
commit139cfdf630b6257529a3f4bad40463e73fc38d7d (patch)
treefd6b02c9212083cd67e317f60fb962c45502369f /src/modules/options
parent072a18963fcb2dd827533a1cc625390375856f0a (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9397 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 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);