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:
Mark Pizzolato 2019-12-28 10:45:03 -08:00
parent 9a481e4907
commit 7642d29f2c

View file

@ -437,7 +437,7 @@ if (*cptr == 0) { /* show all */
while (*cptr != 0) { while (*cptr != 0) {
cptr = get_glyph (cptr, gbuf, ','); /* get modifier */ cptr = get_glyph (cptr, gbuf, ','); /* get modifier */
if ((shptr = find_shtab (show_con_tab, gbuf))) 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; else return SCPE_NOPARAM;
} }
return SCPE_OK; return SCPE_OK;