oops, %O should be in hex

This commit is contained in:
Bill Currie 2003-07-31 01:57:29 +00:00
parent 72eca6a956
commit cbd5c70320

View file

@ -514,7 +514,7 @@ PR_PrintStatement (progs_t * pr, dstatement_t *s)
dasprintf (line, "%d", (short) opval); dasprintf (line, "%d", (short) opval);
break; break;
case 'O': case 'O':
dasprintf (line, "%d", addr + (short) opval); dasprintf (line, "%04x", addr + (short) opval);
break; break;
default: default:
goto err; goto err;