Commit deb9404b authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winedos: Make an expression in DOSVM_Int10Handler() more clear.

parent 26527b4c
...@@ -1139,7 +1139,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context ) ...@@ -1139,7 +1139,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
to I/O address 0x3d9 bit 4 */ to I/O address 0x3d9 bit 4 */
if(data->VideoMode >= 4 && data->VideoMode <= 6) if(data->VideoMode >= 4 && data->VideoMode <= 6)
{ {
VGA_SetBright((BL_reg(context) & 0x10) && 1); VGA_SetBright((BL_reg(context) & 0x10) != 0);
VGA_UpdatePalette(); VGA_UpdatePalette();
} }
else FIXME("Set Background/Border Color: %d/%d\n", else FIXME("Set Background/Border Color: %d/%d\n",
......
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