1
0
Fork 0

Made goto accept spaces between : and label

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1632
This commit is contained in:
Peter Veenstra 2004-01-31 20:01:01 +00:00
parent 7a33b04eab
commit 1f0493d050

View file

@ -125,7 +125,8 @@ again:
} while (c!='\n' && n);
*cmd_write++=0;
if (cmd[0]==':') {
if (strcasecmp(cmd+1,where)==0) return true;
char *nospace = trim(cmd+1);
if (strcasecmp(nospace,where)==0) return true;
}
if (!n) {
delete this;