cosmetics

This commit is contained in:
sergeych committed 2023-03-15 10:51:10 +01:00
1 parent d97de2c3ea
commit 569d62faa9
1 file changed
+1 -2
@@ -103,8 +103,7 @@ fun ByteArray.toDumpLines(wide: Boolean = false): List<String> {
while (from < max) {
val ch = this[from++].toInt()
when {
ch == ' '.code -> b.append('\u25AD')
(ch > ' '.code && ch < 127) -> b.append(ch.toChar())
(ch >= ' '.code && ch < 127) -> b.append(ch.toChar())
else -> b.append('.')
}
if( (from % lineSize) == lineSize/2 )