[Scummvm-cvs-logs] CVS: scummvm/common util.cpp,1.1.1.1,1.2
Max Horn
fingolfin at users.sourceforge.net
Sat Aug 31 07:15:03 CEST 2002
Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv1270/common
Modified Files:
util.cpp
Log Message:
don't print char 0x7f
Index: util.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/util.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- util.cpp 21 Aug 2002 16:07:23 -0000 1.1.1.1
+++ util.cpp 31 Aug 2002 14:14:24 -0000 1.2
@@ -95,7 +95,7 @@
printf(" |");
for (i = 0; i < 8; i++) {
c = data[i];
- if (c < 32 || c > 127)
+ if (c < 32 || c >= 127)
c = '.';
printf("%c", c);
}
@@ -114,7 +114,7 @@
printf(" |");
for (i = 0; i < len; i++) {
c = data[i];
- if (c < 32 || c > 127)
+ if (c < 32 || c >= 127)
c = '.';
printf("%c", c);
}
More information about the Scummvm-git-logs
mailing list