mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-06 15:54:47 +00:00
Merge pull request #166 from mknos/kdisplay_dowhile
convert tab case in RawPutChar() to do-while loop
This commit is contained in:
commit
e34e75626f
@ -35,9 +35,9 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
|
|||||||
}
|
}
|
||||||
if (ch == '\t')
|
if (ch == '\t')
|
||||||
{
|
{
|
||||||
RawPutChar(CH_SPACE);
|
do
|
||||||
while (text.raw_col & 3)
|
|
||||||
RawPutChar(CH_SPACE);
|
RawPutChar(CH_SPACE);
|
||||||
|
while (text.raw_col & 3);
|
||||||
}
|
}
|
||||||
else if (ch == CH_BACKSPACE)
|
else if (ch == CH_BACKSPACE)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user