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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue