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:
parent
7a33b04eab
commit
1f0493d050
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue