Try not to print funny characters.

svn path=/trunk/; revision=43685
This commit is contained in:
Gerald Combs 2012-07-12 23:39:25 +00:00
parent 5d4638e95c
commit bc1b0fd21d
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ ByteViewText::hexPrintCommon()
else {
g_assert_not_reached();
}
line += isprint(c) ? c : '.';
line += isascii(c) && isprint(c) ? c : '.';
} else {
line += ' ';
}