winex11: Use boolean return values in boolean function.

This commit is contained in:
André Hentschel 2014-01-28 00:09:00 +01:00 committed by Alexandre Julliard
parent 63faf29c2a
commit a35b41acaa
1 changed files with 2 additions and 2 deletions

View File

@ -1058,8 +1058,8 @@ static BOOL X11DRV_PALETTE_CheckSysColor( const PALETTEENTRY *sys_pal_template,
int i;
for( i = 0; i < NB_RESERVED_COLORS; i++ )
if( c == (*(const COLORREF*)(sys_pal_template + i) & 0x00ffffff) )
return 0;
return 1;
return FALSE;
return TRUE;
}