mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
tab case in RawPutChar() can also be converted to do-while
This commit is contained in:
parent
8773bd95f0
commit
742b2fad72
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…
x
Reference in New Issue
Block a user