Gerald Pfeifer : winedos: Make an expression in DOSVM_Int10Handler() more clear.
Alexandre Julliard
julliard at winehq.org
Wed Sep 16 16:00:49 CDT 2009
Module: wine
Branch: master
Commit: deb9404bc53f4e4c810836873c3c9149f4d1612e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=deb9404bc53f4e4c810836873c3c9149f4d1612e
Author: Gerald Pfeifer <gerald at 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",
More information about the wine-cvs
mailing list