Skip to content
Snippets Groups Projects
Commit 4728536a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix off-by-one error in sbbs_t::cleartoeol() for non-ANSI terminals

This was evident by logging in with PETSCII/64col mode and the last ']' of the
"Loading message pointers..." progress indicator was left in the first right
column of the screen.
parent 2ca0b31b
No related branches found
No related tags found
1 merge request!488Overhaul LZH code
......@@ -1057,9 +1057,9 @@ void sbbs_t::cleartoeol(void)
putcom("\x1b[K");
else {
i=j=column;
while(++i<cols)
while(++i<=cols)
outcom(' ');
while(++j<cols) {
while(++j<=cols) {
if(term&PETSCII)
outcom(PETSCII_LEFT);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment