Commit 62409c42 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

serialui: Don't cast zero.

parent 43aa5f6b
......@@ -162,7 +162,7 @@ static void SERIALUI_AddConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, DWORD
n = SendMessageA(hControl, CB_ADDSTRING, 0L, (LPARAM)table->data[i].name);
if(dwVal == table->data[i].val)
{
SendMessageA(hControl, CB_SETCURSEL, (WPARAM)n, (LPARAM)0);
SendMessageA(hControl, CB_SETCURSEL, n, 0);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment