Fixed a minor problem with off_fmt, when this format would not

produce the '-' sign.
This commit is contained in:
ceriel 1987-01-14 17:47:31 +00:00
parent 493efb1bf7
commit 9877db53d9

View file

@ -535,8 +535,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: