public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493efb1
)
Fixed a minor problem with off_fmt, when this format would not
author
ceriel
<none@none>
Wed, 14 Jan 1987 17:47:31 +0000
(17:47 +0000)
committer
ceriel
<none@none>
Wed, 14 Jan 1987 17:47:31 +0000
(17:47 +0000)
produce the '-' sign.
mach/proto/ncg/fillem.c
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/fillem.c
b/mach/proto/ncg/fillem.c
index
b671d89
..
83d6f05
100644
(file)
--- 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: