Commit e7c5c9ae authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

user32: Use BOOL type where appropriate.

parent 78459aea
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment