mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +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
@ -47,9 +47,8 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
|
|||||||
}
|
}
|
||||||
else if (ch == '\n')
|
else if (ch == '\n')
|
||||||
{
|
{
|
||||||
RawPutChar(CH_SPACE);
|
do RawPutChar(CH_SPACE);
|
||||||
while (text.raw_col % text.cols)
|
while (text.raw_col % text.cols);
|
||||||
RawPutChar(CH_SPACE);
|
|
||||||
}
|
}
|
||||||
else if (Bt(char_bmp_displayable, ch))
|
else if (Bt(char_bmp_displayable, ch))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user