From 9877db53d9ebd78f6b1b82fade7fc7feacd5eff6 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 14 Jan 1987 17:47:31 +0000 Subject: [PATCH] Fixed a minor problem with off_fmt, when this format would not produce the '-' sign. --- mach/proto/ncg/fillem.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mach/proto/ncg/fillem.c b/mach/proto/ncg/fillem.c index b671d8962..83d6f05da 100644 --- a/mach/proto/ncg/fillem.c +++ b/mach/proto/ncg/fillem.c @@ -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: -- 2.34.1