summaryrefslogtreecommitdiff
path: root/src/editfns.c
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-03 15:02:43 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-03 15:02:43 +0200
commita9ab721e7fdbedd15e520f74c9c90154a8c36669 (patch)
tree6f286ed15fac8d6e5e269a75dce1de63b47948bd /src/editfns.c
parent79414ae4dfe70ef065a4afbcbfbcfbdec359fd8c (diff)
Clarify what the "-" and "0" flags mean in the `format' function
(bug#6659).
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 5328b714b0..c470c9be98 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3557,7 +3557,8 @@ The width specifier supplies a lower limit for the length of the
printed representation. The padding, if any, normally goes on the
left, but it goes on the right if the - flag is present. The padding
character is normally a space, but it is 0 if the 0 flag is present.
-The - flag takes precedence over the 0 flag.
+The 0 flag is ignored if the - flag is present, or the format sequence
+is something other than %d, %e, %f, and %g.
For %e, %f, and %g sequences, the number after the "." in the
precision specifier says how many decimal places to show; if zero, the