SCP: Properly handle MTAB entries with MTAB_QUOTE values
This commit is contained in:
parent
09f18ec2ba
commit
6fdd917ee8
1 changed files with 4 additions and 2 deletions
6
scp.c
6
scp.c
|
@ -5523,9 +5523,11 @@ while (*cptr != 0) { /* do all mods */
|
|||
return SCPE_UDIS; /* unit disabled? */
|
||||
if (mptr->valid) { /* validation rtn? */
|
||||
if (cvptr && MODMASK(mptr,MTAB_QUOTE)) {
|
||||
get_glyph_quoted (svptr, gbuf, ',');
|
||||
if ((cvptr = strchr (gbuf, '=')))
|
||||
svptr = get_glyph_quoted (svptr, gbuf, ',');
|
||||
if ((cvptr = strchr (gbuf, '='))) {
|
||||
*cvptr++ = 0;
|
||||
cptr = svptr;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (cvptr && MODMASK(mptr,MTAB_NC)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue