mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 15:46:31 +00:00
SCP: Make sure that SCPE_OK isn't interpreted as error in sim_messagef
Error status returns cause the line in a DO file to be displayed. This should only happen for non SCPE_OK status.
This commit is contained in:
parent
9b2ff7e371
commit
00f6cd59a2
3
scp.c
3
scp.c
@ -11023,7 +11023,8 @@ while (1) { /* format passed string, arg
|
||||
break;
|
||||
}
|
||||
|
||||
if (sim_do_ocptr[sim_do_depth]) {
|
||||
if ((sim_do_ocptr[sim_do_depth]) &&
|
||||
((stat & ~SCPE_NOMESSAGE) != SCPE_OK)) {
|
||||
if (!sim_do_echo && !sim_quiet && !inhibit_message)
|
||||
sim_printf("%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]);
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user