Simplified conditions when a do command file error message is printed
This commit is contained in:
parent
ee235a6c37
commit
e3bdb12aeb
1 changed files with 1 additions and 2 deletions
3
scp.c
3
scp.c
|
@ -1202,8 +1202,7 @@ do {
|
|||
fprintf (sim_log, "%s> %s\n", do_position(), ocptr);
|
||||
}
|
||||
}
|
||||
if ((staying || (flag <= 0)) && /* if not exiting or in cmdline/init file */
|
||||
(stat >= SCPE_BASE) && !stat_nomessage) { /* report error */
|
||||
if ((stat >= SCPE_BASE) && !stat_nomessage) { /* report error if not suppressed */
|
||||
if (cmdp->message) { /* special message handler */
|
||||
cmdp->message ((!echo && !sim_quiet) ? ocptr : NULL, stat);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue