user32: Use BOOL type where appropriate.
This commit is contained in:
parent
78459aea0d
commit
e7c5c9ae9b
|
@ -1543,7 +1543,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
|
|||
|
||||
case SPI_GETFASTTASKSWITCH: /* 35 */
|
||||
if (!pvParam) return FALSE;
|
||||
*(BOOL *)pvParam = 1;
|
||||
*(BOOL *)pvParam = TRUE;
|
||||
ret = TRUE;
|
||||
break;
|
||||
|
||||
|
|
|
@ -1849,7 +1849,8 @@ BOOL WINAPI DestroyWindow( HWND hwnd )
|
|||
{
|
||||
for (;;)
|
||||
{
|
||||
int i, got_one = 0;
|
||||
int i;
|
||||
BOOL got_one = FALSE;
|
||||
HWND *list = WIN_ListChildren( GetDesktopWindow() );
|
||||
if (list)
|
||||
{
|
||||
|
@ -1859,7 +1860,7 @@ BOOL WINAPI DestroyWindow( HWND hwnd )
|
|||
if (WIN_IsCurrentThread( list[i] ))
|
||||
{
|
||||
DestroyWindow( list[i] );
|
||||
got_one = 1;
|
||||
got_one = TRUE;
|
||||
continue;
|
||||
}
|
||||
WIN_SetOwner( list[i], 0 );
|
||||
|
|
Loading…
Reference in New Issue