forked from osmocom/wireshark
Try not to print funny characters.
svn path=/trunk/; revision=43685
This commit is contained in:
parent
5d4638e95c
commit
bc1b0fd21d
|
@ -261,7 +261,7 @@ ByteViewText::hexPrintCommon()
|
|||
else {
|
||||
g_assert_not_reached();
|
||||
}
|
||||
line += isprint(c) ? c : '.';
|
||||
line += isascii(c) && isprint(c) ? c : '.';
|
||||
} else {
|
||||
line += ' ';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue