mirror of
https://github.com/open-simh/simh.git
synced 2026-01-19 01:27:53 +00:00
CONSOLE: Fix argument passing in SHOW CONSOLE
There are no extended arguments while parsing SHOW CONSOLE commands. SHOW CONSOLE is a special parsing case somewhat equivalent to of SHOW DEVICE for a device display. No SHOW CONSOLE commands take value arguments. Adopted from Dave Bryan's changes in V3.11
This commit is contained in:
parent
9a481e4907
commit
7642d29f2c
@ -437,7 +437,7 @@ if (*cptr == 0) { /* show all */
|
||||
while (*cptr != 0) {
|
||||
cptr = get_glyph (cptr, gbuf, ','); /* get modifier */
|
||||
if ((shptr = find_shtab (show_con_tab, gbuf)))
|
||||
shptr->action (st, dptr, uptr, shptr->arg, cptr);
|
||||
shptr->action (st, dptr, uptr, shptr->arg, NULL);
|
||||
else return SCPE_NOPARAM;
|
||||
}
|
||||
return SCPE_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user