Merge pull request #166 from mknos/kdisplay_dowhile
Some checks failed
Build ZealOS ISOs / Build (push) Has been cancelled

convert tab case in RawPutChar() to do-while loop
This commit is contained in:
Gunch 2024-12-19 23:05:40 -05:00 committed by GitHub
commit e34e75626f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
{