From 2339e11d9c1350073129a9853574bea308ccd09a Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 11 May 2004 18:55:33 +0000 Subject: [PATCH] Fix warning Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1792 --- src/ints/int10_char.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ints/int10_char.cpp b/src/ints/int10_char.cpp index a5ff6f1f..cffff625 100644 --- a/src/ints/int10_char.cpp +++ b/src/ints/int10_char.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: int10_char.cpp,v 1.26 2004-03-07 10:30:15 harekiet Exp $ */ +/* $Id: int10_char.cpp,v 1.27 2004-05-11 18:55:33 harekiet Exp $ */ /* Character displaying moving functions */ @@ -524,7 +524,7 @@ void INT10_WriteString(Bit8u row,Bit8u col,Bit8u flag,Bit8u attr,PhysPt string,B attr=mem_readb(string); string++; } else attr=7; - INT10_TeletypeOutputAttr(chr,attr,flag & 2); + INT10_TeletypeOutputAttr(chr,attr,(flag & 2)>0); count--; } if (flag & 1) {