SCP: Fix command context reporting when errors occur in QUIET mode
This commit is contained in:
parent
3d1f092573
commit
09f69f13b5
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -3140,7 +3140,7 @@ do {
|
||||||
}
|
}
|
||||||
if ((stat >= SCPE_BASE) && (stat != SCPE_EXIT) && /* error from cmd? */
|
if ((stat >= SCPE_BASE) && (stat != SCPE_EXIT) && /* error from cmd? */
|
||||||
(stat != SCPE_STEP)) {
|
(stat != SCPE_STEP)) {
|
||||||
if (!echo && !sim_quiet && /* report if not echoing */
|
if (!echo && /* report if not echoing */
|
||||||
!stat_nomessage && /* and not suppressing messages */
|
!stat_nomessage && /* and not suppressing messages */
|
||||||
!(cmdp && cmdp->message)) { /* and not handling them specially */
|
!(cmdp && cmdp->message)) { /* and not handling them specially */
|
||||||
sim_printf("%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]);
|
sim_printf("%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue