1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-11 23:53:30 +00:00

Simplified conditions when a do command file error message is printed

This commit is contained in:
Mark Pizzolato 2012-04-30 13:52:07 -07:00
parent df98a0583c
commit 52323f1d46

3
scp.c
View File

@ -1223,8 +1223,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);
}