Commit 1d1b07b9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winedos: Avoid comparing BOOLs against TRUE.

parent e0a769b2
......@@ -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);
......
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