user32: Remove always-false condition.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
This commit is contained in:
Alex Henrie 2015-10-04 21:27:53 -06:00 committed by Alexandre Julliard
parent 43bbdac1f0
commit 64e63f4550
1 changed files with 0 additions and 1 deletions

View File

@ -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 );