mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-24 14:40: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')
|
||||
{
|
||||
RawPutChar(CH_SPACE);
|
||||
while (text.raw_col & 3)
|
||||
do
|
||||
RawPutChar(CH_SPACE);
|
||||
while (text.raw_col & 3);
|
||||
}
|
||||
else if (ch == CH_BACKSPACE)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue