user32: Remove always-false condition.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
This commit is contained in:
parent
43bbdac1f0
commit
64e63f4550
|
@ -443,7 +443,6 @@ LRESULT ButtonWndProc_common(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
|
|||
break;
|
||||
|
||||
case BM_SETSTYLE:
|
||||
if ((wParam & BS_TYPEMASK) >= MAX_BTN_TYPE) break;
|
||||
btn_type = wParam & BS_TYPEMASK;
|
||||
style = (style & ~BS_TYPEMASK) | btn_type;
|
||||
WIN_SetStyle( hWnd, style, BS_TYPEMASK & ~style );
|
||||
|
|
Loading…
Reference in New Issue