mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winedos: Avoid comparing BOOLs against TRUE.
This commit is contained in:
parent
e0a769b2a9
commit
1d1b07b95b
1 changed files with 2 additions and 2 deletions
|
@ -1158,7 +1158,7 @@ void VGA_ShowMouse( BOOL show )
|
|||
void VGA_UpdatePalette(void)
|
||||
{
|
||||
/* Figure out which palette is used now */
|
||||
if(vga_fb_bright == TRUE)
|
||||
if(vga_fb_bright)
|
||||
{
|
||||
if(vga_fb_palette_index == 0)
|
||||
{
|
||||
|
@ -1210,7 +1210,7 @@ static void VGA_SetEnabled(BOOL enabled)
|
|||
TRACE("%i\n", enabled);
|
||||
|
||||
/* Check if going from enabled to disabled */
|
||||
if(vga_fb_enabled == TRUE && enabled == FALSE)
|
||||
if(vga_fb_enabled && !enabled)
|
||||
{
|
||||
/* Clear frame buffer */
|
||||
memset(vga_fb_window_data, 0x00, vga_fb_window_size);
|
||||
|
|
Loading…
Reference in a new issue