m32script: when printing error line, replace tabs with spaces.

git-svn-id: https://svn.eduke32.com/eduke32@4122 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-10-28 21:26:27 +00:00
parent c2797e4b11
commit 491e67c1cc

View file

@ -4023,7 +4023,7 @@ void C_PrintErrorPosition()
buf[nchars]=0;
for (i=0; i<nchars; i++)
if (buf[i]==0x0a || buf[i]==0x0d)
if (buf[i]==0x0a || buf[i]==0x0d || buf[i]=='\t')
buf[i]=' ';
initprintf("%s\n", buf);