Skip to content

Commit

Permalink
tab case in RawPutChar() can also be converted to do-while
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mikonos committed Dec 19, 2024
1 parent 8773bd9 commit 742b2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kernel/Display.ZC
100755 → 100644
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 742b2fa

Please sign in to comment.