Commit 64e63f45 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

user32: Remove always-false condition.

parent 43bbdac1
......@@ -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 );
......
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