cosmetics

This commit is contained in:
Sergey Chernov 2023-03-15 10:51:10 +01:00
parent d97de2c3ea
commit 569d62faa9

View File

@ -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 )