summaryrefslogtreecommitdiff
path: root/lib/ftoastr.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-12-19 23:05:24 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2010-12-19 23:06:03 -0800
commitc1517681700601792afc127715e93c2ce1ed3163 (patch)
treeb08f1728c2eeec7a59013b455e908bbd1c75d582 /lib/ftoastr.h
parent1b5bc6ed268e3f86e5fab50eb42794400e29ea2f (diff)
downloadgnulib-c1517681700601792afc127715e93c2ce1ed3163.tar.gz
ftoastr: fix comment
* lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00130.html>.
Diffstat (limited to 'lib/ftoastr.h')
-rw-r--r--lib/ftoastr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftoastr.h b/lib/ftoastr.h
index fd7a802dbe..edae494dda 100644
--- a/lib/ftoastr.h
+++ b/lib/ftoastr.h
@@ -40,7 +40,7 @@
Example:
char buf[DBL_ABUFSIZE_BOUND];
- int r = dtoastr (buf, sizeof buf, "%*.*g", 0, 0.1);
+ int r = dtoastr (buf, sizeof buf, FTOASTR_UPPER_E, 0, 0.1);
In the C locale, this sets R to 3 and stores "0.1" into BUF. */