[Minor] code cleanup

This commit is contained in:
Robert von Burg 2023-04-06 14:48:34 +02:00
parent 6b6a50c88e
commit 6d7fc09621
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 3 additions and 1 deletions

View File

@ -282,7 +282,9 @@ public class AsciiHelper {
return "SP";
} else if (c == DEL) {
return "DEL";
} else if ((c) > 32 && (c) < 127) {
}
// all following chars will be above 32
else if (c < 127) {
return String.valueOf(c);
} else {
return "(null:" + (byte) c + ")";