2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>

* lib/user32/controls/button.c (ButtonWndProc_comm): Fix unsigned/signed
	warning.

svn path=/trunk/; revision=4977
This commit is contained in:
Casper Hornstrup 2003-06-27 17:49:07 +00:00
parent bf1abd5a1c
commit b36ca324a9
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/controls/button.c (ButtonWndProc_comm): Fix unsigned/signed
warning.
2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ddk/dbgfuncs.h: Move ...

View file

@ -1,4 +1,4 @@
/* $Id: button.c,v 1.3 2003/06/23 10:10:51 rcampbell Exp $
/* $Id: button.c,v 1.4 2003/06/27 17:49:07 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS User32
@ -399,7 +399,7 @@ static LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
else style &= ~WS_TABSTOP;
SetWindowLongA( hWnd, GWL_STYLE, style );
}
if ((state & 3) != wParam)
if (((WPARAM) state & 3) != wParam)
{
set_button_state( hWnd, (state & ~3) | wParam );
paint_button( hWnd, btn_type, ODA_SELECT );