Skip to content

Commit

Permalink
Merge pull request #166 from mknos/kdisplay_dowhile
Browse files Browse the repository at this point in the history
convert tab case in RawPutChar() to do-while loop
  • Loading branch information
GutPuncher authored Dec 20, 2024
2 parents 8773bd9 + dba0d17 commit e34e756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kernel/Display.ZC
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
}
if (ch == '\t')
{
RawPutChar(CH_SPACE);
while (text.raw_col & 3)
do
RawPutChar(CH_SPACE);
while (text.raw_col & 3);
}
else if (ch == CH_BACKSPACE)
{
Expand Down

0 comments on commit e34e756

Please sign in to comment.