Module: wine Branch: master Commit: a35b41acaa3466a7a698e8ca8a5e7c362c72738c URL: http://source.winehq.org/git/wine.git/?a=commit;h=a35b41acaa3466a7a698e8ca8a...
Author: André Hentschel nerv@dawncrow.de Date: Tue Jan 28 00:09:00 2014 +0100
winex11: Use boolean return values in boolean function.
---
dlls/winex11.drv/palette.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/palette.c b/dlls/winex11.drv/palette.c index d19d112..cd90885 100644 --- a/dlls/winex11.drv/palette.c +++ b/dlls/winex11.drv/palette.c @@ -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; }