public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f78cbc8
)
Bug fix: %f did not work, if no width was specified
author
ceriel
<none@none>
Wed, 28 Jan 1987 16:52:16 +0000
(16:52 +0000)
committer
ceriel
<none@none>
Wed, 28 Jan 1987 16:52:16 +0000
(16:52 +0000)
lang/cem/libcc/stdio/doscan.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/stdio/doscan.c
b/lang/cem/libcc/stdio/doscan.c
index
2800aa8
..
7762701
100644
(file)
--- a/
lang/cem/libcc/stdio/doscan.c
+++ b/
lang/cem/libcc/stdio/doscan.c
@@
-218,6
+218,7
@@
union ptr_union *argp; /* our argument list */
case 'f': {
register char *c = buffer;
+ if (!widflag) width = 127;
if (width >= 128) width = 127;
if (width && (ic == '+' || ic == '-')) {
*c++ = ic;