mirror of
https://github.com/open-simh/simh.git
synced 2026-05-04 07:08:55 +00:00
Simplified conditions when a do command file error message is printed
This commit is contained in:
3
scp.c
3
scp.c
@@ -1202,8 +1202,7 @@ do {
|
|||||||
fprintf (sim_log, "%s> %s\n", do_position(), ocptr);
|
fprintf (sim_log, "%s> %s\n", do_position(), ocptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((staying || (flag <= 0)) && /* if not exiting or in cmdline/init file */
|
if ((stat >= SCPE_BASE) && !stat_nomessage) { /* report error if not suppressed */
|
||||||
(stat >= SCPE_BASE) && !stat_nomessage) { /* report error */
|
|
||||||
if (cmdp->message) { /* special message handler */
|
if (cmdp->message) { /* special message handler */
|
||||||
cmdp->message ((!echo && !sim_quiet) ? ocptr : NULL, stat);
|
cmdp->message ((!echo && !sim_quiet) ? ocptr : NULL, stat);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user