Merge pull request #145 from mknos/kdisplay_loop

Merge duplicate RawPutChar() call into do-while loop
This commit is contained in:
Arsenic Blood 2024-03-11 03:00:23 -04:00 committed by GitHub
commit ff3cbf160b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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))
{