diff options
author | Max Horn | 2002-08-31 14:14:24 +0000 |
---|---|---|
committer | Max Horn | 2002-08-31 14:14:24 +0000 |
commit | caf9817cb1f65521c317c81600bb6e21b3e7c29e (patch) | |
tree | eead0dee7fa9f9119edb7a7073935fc8c58cebb1 /common | |
parent | 6fbbe6821964b0eab94c44c971e3a78814a45d24 (diff) | |
download | scummvm-rg350-caf9817cb1f65521c317c81600bb6e21b3e7c29e.tar.gz scummvm-rg350-caf9817cb1f65521c317c81600bb6e21b3e7c29e.tar.bz2 scummvm-rg350-caf9817cb1f65521c317c81600bb6e21b3e7c29e.zip |
don't print char 0x7f
svn-id: r4881
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/util.cpp b/common/util.cpp index 4a5d50e369..6f55014ef9 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -95,7 +95,7 @@ void hexdump(const byte * data, int len) 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 @@ void hexdump(const byte * data, int len) printf(" |"); for (i = 0; i < len; i++) { c = data[i]; - if (c < 32 || c > 127) + if (c < 32 || c >= 127) c = '.'; printf("%c", c); } |