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
1 changed files with 2 additions and 1 deletions
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…
Add table
Reference in a new issue