AppleSingle entry can have a length of 0. Adjusting how 0 byte entries

are reported.
This commit is contained in:
Rob Greene 2022-06-05 16:47:31 -05:00
parent 0651919ca0
commit ea58bc88f8
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ public class HexDumper {
char ch = ' ';
if (i < data.length) {
byte b = data[i];
//ch = (Character.isISOControl(Byte.toUnsignedInt(b))) ? '.' : (char)b;
ch = (b >= ' ' && Byte.toUnsignedInt(b) < 0x7f) ? (char)b : '.';
}
ps.printf("%c", ch);