fix format ~f documentation for width combined with overflowchar
authorAndy Wingo <wingo@pobox.com>
Wed, 26 Jan 2011 19:13:16 +0000 (20:13 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 26 Jan 2011 19:13:31 +0000 (20:13 +0100)
* doc/ref/misc-modules.texi (Formatted Output): Adapt ~f documentation
  to indicate that the output will always have a decimal point.  Thanks
  to Fu-gangqiang for the report.

* THANKS: Update.

THANKS
doc/ref/misc-modules.texi

diff --git a/THANKS b/THANKS
index bae2b1e..96b9ead 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -44,6 +44,7 @@ For fixes or providing information which led to a fix:
           David Fang
           Barry Fishman
         Charles Gagnon
+             Fu-gangqiang
           Peter Gavin
            Nils Gey
            Eric Gillespie, Jr
index e17f985..7071dad 100644 (file)
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
-@c Copyright (C)  1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010
+@c Copyright (C)  1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010, 2011
 @c   Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
@@ -400,8 +400,8 @@ would exceed @var{width}, then that many @var{overflowchar}s are
 printed instead of the value.
 
 @example
-(format #t "~5,,,'xf" 12345) @print{} 12345
-(format #t "~4,,,'xf" 12345) @print{} xxxx
+(format #t "~6,,,'xf" 12345) @print{} 12345.
+(format #t "~5,,,'xf" 12345) @print{} xxxxx
 @end example
 
 @item @nicode{~e}