Skip to content

Commit

Permalink
Merge pull request #145 from mknos/kdisplay_loop
Browse files Browse the repository at this point in the history
Merge duplicate RawPutChar() call into do-while loop
  • Loading branch information
GutPuncher committed Mar 11, 2024
2 parents 314b463 + cf4d34c commit ff3cbf1
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 @@ -47,9 +47,9 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
}
else if (ch == '\n')
{
RawPutChar(CH_SPACE);
while (text.raw_col % text.cols)
do
RawPutChar(CH_SPACE);
while (text.raw_col % text.cols);
}
else if (Bt(char_bmp_displayable, ch))
{
Expand Down

0 comments on commit ff3cbf1

Please sign in to comment.