winex11: Use boolean return values in boolean function
André Hentschel
nerv at dawncrow.de
Mon Jan 27 17:09:00 CST 2014
---
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;
}
--
1.8.1.2
More information about the wine-patches
mailing list