mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
for newline, RawPutChar() is called at least once, so convert loop to do-while
This commit is contained in:
parent
524bddec6c
commit
828b2493a4
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
|
|||
}
|
||||
else if (ch == '\n')
|
||||
{
|
||||
RawPutChar(CH_SPACE);
|
||||
while (text.raw_col % text.cols)
|
||||
RawPutChar(CH_SPACE);
|
||||
do RawPutChar(CH_SPACE);
|
||||
while (text.raw_col % text.cols);
|
||||
}
|
||||
else if (Bt(char_bmp_displayable, ch))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue