mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
SCP: Properly handle MTAB entries with MTAB_QUOTE values
This commit is contained in:
parent
09f18ec2ba
commit
6fdd917ee8
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…
x
Reference in New Issue
Block a user