mirror of
https://github.com/simh/simh.git
synced 2026-02-04 23:45:07 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user