fix printing of op_c for storeb

This commit is contained in:
Bill Currie 2001-11-15 19:36:40 +00:00
parent 3f7c4f146e
commit 598c82352f

View file

@ -88,8 +88,12 @@ PR_PrintStatement (progs_t * pr, dstatement_t *s)
else
Sys_Printf ("%s", PR_GlobalStringNoContents (pr, s->b));
}
if (op->type_c != ev_void)
Sys_Printf ("%s", PR_GlobalStringNoContents (pr, s->c));
if (op->type_c != ev_void) {
if (op->type_b == ev_pointer && op->type_c == ev_integer)
Sys_Printf ("%s", PR_GlobalString (pr, s->c, op->type_c));
else
Sys_Printf ("%s", PR_GlobalStringNoContents (pr, s->c));
}
}
Sys_Printf ("\n");
}