1
0
Fork 0

added tab as valid character when reading a batchfile

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1267
This commit is contained in:
Peter Veenstra 2003-09-24 19:37:14 +00:00
parent 1786adb90b
commit e195ea341e

View file

@ -49,7 +49,7 @@ emptyline:
n=1;
DOS_ReadFile(file_handle,&c,&n);
if (n>0) {
if (c>31 || c==0x1b)
if (c>31 || c==0x1b || c=='\t')
*cmd_write++=c;
}
} while (c!='\n' && n);