mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +00:00
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:
parent
bf1abd5a1c
commit
b36ca324a9
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* include/ddk/dbgfuncs.h: Move ...
|
* include/ddk/dbgfuncs.h: Move ...
|
||||||
|
|
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS User32
|
* PROJECT: ReactOS User32
|
||||||
|
@ -399,7 +399,7 @@ static LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
|
||||||
else style &= ~WS_TABSTOP;
|
else style &= ~WS_TABSTOP;
|
||||||
SetWindowLongA( hWnd, GWL_STYLE, style );
|
SetWindowLongA( hWnd, GWL_STYLE, style );
|
||||||
}
|
}
|
||||||
if ((state & 3) != wParam)
|
if (((WPARAM) state & 3) != wParam)
|
||||||
{
|
{
|
||||||
set_button_state( hWnd, (state & ~3) | wParam );
|
set_button_state( hWnd, (state & ~3) | wParam );
|
||||||
paint_button( hWnd, btn_type, ODA_SELECT );
|
paint_button( hWnd, btn_type, ODA_SELECT );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue