Module: wine Branch: master Commit: deb9404bc53f4e4c810836873c3c9149f4d1612e URL: http://source.winehq.org/git/wine.git/?a=commit;h=deb9404bc53f4e4c810836873c...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Tue Sep 15 22:25:07 2009 +0200
winedos: Make an expression in DOSVM_Int10Handler() more clear.
---
dlls/winedos/int10.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winedos/int10.c b/dlls/winedos/int10.c index a0b82ed..e1ce312 100644 --- a/dlls/winedos/int10.c +++ b/dlls/winedos/int10.c @@ -1139,7 +1139,7 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context ) to I/O address 0x3d9 bit 4 */ if(data->VideoMode >= 4 && data->VideoMode <= 6) { - VGA_SetBright((BL_reg(context) & 0x10) && 1); + VGA_SetBright((BL_reg(context) & 0x10) != 0); VGA_UpdatePalette(); } else FIXME("Set Background/Border Color: %d/%d\n",