mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
tab case in RawPutChar() can also be converted to do-while
This commit is contained in:
parent
8773bd95f0
commit
742b2fad72
1 changed files with 2 additions and 2 deletions
4
src/Kernel/Display.ZC
Executable file → Normal file
4
src/Kernel/Display.ZC
Executable file → Normal file
|
@ -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…
Reference in a new issue