tab case in RawPutChar() can also be converted to do-while

This commit is contained in:
Michael Mikonos 2024-12-19 10:30:58 +08:00
parent 8773bd95f0
commit 742b2fad72

4
src/Kernel/Display.ZC Executable file → Normal file
View file

@ -35,9 +35,9 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
}
if (ch == '\t')
{
do
RawPutChar(CH_SPACE);
while (text.raw_col & 3)
RawPutChar(CH_SPACE);
while (text.raw_col & 3);
}
else if (ch == CH_BACKSPACE)
{