Fixed a minor problem with off_fmt, when it did not produce

a '-' sign when neccesary
This commit is contained in:
ceriel 1987-01-14 17:49:19 +00:00
parent 9877db53d9
commit 324cbd8327

View file

@ -527,8 +527,12 @@ char *strarg(t) {
strarg(offtyp);
for (p = argstr; *p; p++)
;
if (argval >= 0)
if ((full) argval >= 0)
*p++ = '+';
else {
*p++ = '-';
argval = - (full) argval;
}
sprintf(p,off_fmt,(full)argval);
break;
case sp_cend: