mirror of
https://github.com/AppleCommander/applesingle.git
synced 2024-06-01 05:41:31 +00:00
Hex 0xff does not appear to be visible; adjusting for it.
This commit is contained in:
parent
e4c9c60bfa
commit
cd5d7ac142
|
@ -48,7 +48,7 @@ public class HexDumper {
|
||||||
char ch = ' ';
|
char ch = ' ';
|
||||||
if (i < data.length) {
|
if (i < data.length) {
|
||||||
byte b = data[i];
|
byte b = data[i];
|
||||||
ch = (b >= ' ') ? (char)b : '.';
|
ch = (b >= ' ' && Byte.toUnsignedInt(b) != 0xff) ? (char)b : '.';
|
||||||
}
|
}
|
||||||
ps.printf("%c", ch);
|
ps.printf("%c", ch);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user