winex11: Use boolean return values in boolean function.
This commit is contained in:
parent
63faf29c2a
commit
a35b41acaa
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue