user32: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2014-02-19 22:13:30 +01:00 committed by Alexandre Julliard
parent 78459aea0d
commit e7c5c9ae9b
2 changed files with 4 additions and 3 deletions

View file

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

View file

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