Commit a35b41ac authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winex11: Use boolean return values in boolean function.

parent 63faf29c
...@@ -1058,8 +1058,8 @@ static BOOL X11DRV_PALETTE_CheckSysColor( const PALETTEENTRY *sys_pal_template, ...@@ -1058,8 +1058,8 @@ static BOOL X11DRV_PALETTE_CheckSysColor( const PALETTEENTRY *sys_pal_template,
int i; int i;
for( i = 0; i < NB_RESERVED_COLORS; i++ ) for( i = 0; i < NB_RESERVED_COLORS; i++ )
if( c == (*(const COLORREF*)(sys_pal_template + i) & 0x00ffffff) ) if( c == (*(const COLORREF*)(sys_pal_template + i) & 0x00ffffff) )
return 0; return FALSE;
return 1; return TRUE;
} }
......
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