public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96fc9c9
)
forgot leading zero in front of . in F format
author
ceriel
<none@none>
Thu, 4 Aug 1988 15:48:34 +0000
(15:48 +0000)
committer
ceriel
<none@none>
Thu, 4 Aug 1988 15:48:34 +0000
(15:48 +0000)
lang/cem/libcc/gen/gcvt.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/gcvt.c
b/lang/cem/libcc/gen/gcvt.c
index
f5c9f98
..
021ca56
100644
(file)
--- a/
lang/cem/libcc/gen/gcvt.c
+++ b/
lang/cem/libcc/gen/gcvt.c
@@
-42,6
+42,7
@@
gcvt(value, ndigit, buf)
if (dp <= 0) {
if (*s1 != '0') {
/* otherwise the whole number is 0 */
+ *s2++ = '0';
*s2++ = '.';
}
while (dp < 0) {