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);
break;
case 'O':
dasprintf (line, "%d", addr + (short) opval);
dasprintf (line, "%04x", addr + (short) opval);
break;
default:
goto err;