From a9ab721e7fdbedd15e520f74c9c90154a8c36669 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 3 Jul 2011 15:02:43 +0200 Subject: Clarify what the "-" and "0" flags mean in the `format' function (bug#6659). --- src/editfns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/editfns.c') 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 -- cgit v1.2.3