[gs-cvs] rev 8892 - trunk/gs/src

giles at ghostscript.com giles at ghostscript.com
Mon Jul 28 12:41:25 PDT 2008


Author: giles
Date: 2008-07-28 12:41:25 -0700 (Mon, 28 Jul 2008)
New Revision: 8892

Modified:
   trunk/gs/src/zdouble.c
Log:
Fix a syntax error from r8548.

This wasn't noticed because double.dev isn't part of the default build.


Modified: trunk/gs/src/zdouble.c
===================================================================
--- trunk/gs/src/zdouble.c	2008-07-28 18:58:41 UTC (rev 8891)
+++ trunk/gs/src/zdouble.c	2008-07-28 19:41:25 UTC (rev 8892)
@@ -405,7 +405,7 @@
 	return code;
     check_write_type(*op, t_string);
     sprintf(str, "%f", 1.5);
-    dot = buf[1]; /* locale-dependent */
+    dot = str[1]; /* locale-dependent */
     /*
      * To get fully accurate output results for IEEE double-
      * precision floats (53 bits of mantissa), the ANSI



More information about the gs-cvs mailing list