fix: Remove redundant condition in scroll.c

lipc-refactor
nirenjan 2026-04-25 13:04:45 -07:00
parent 130a1f67de
commit a710ab5591
1 changed files with 1 additions and 4 deletions

View File

@ -46,10 +46,7 @@ static uint8_t tape_byte(const struct libx52util_scroll *st, size_t index)
if (index < st->text_len) {
return st->text[index];
}
index -= st->text_len;
if (index < st->suffix) {
return (uint8_t)' ';
}
/* Remaining tape cells: suffix-width trailing pad (spaces). */
return (uint8_t)' ';
}