[GRASS-SVN] r61172 - grass/trunk/raster3d/r3.info

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 7 13:11:16 PDT 2014


Author: annakrat
Date: 2014-07-07 13:11:16 -0700 (Mon, 07 Jul 2014)
New Revision: 61172

Modified:
   grass/trunk/raster3d/r3.info/r3.info.main.c
Log:
r3.info: attempt to fix #2357 (r3.info crash on Windows)

Modified: grass/trunk/raster3d/r3.info/r3.info.main.c
===================================================================
--- grass/trunk/raster3d/r3.info/r3.info.main.c	2014-07-07 19:50:26 UTC (rev 61171)
+++ grass/trunk/raster3d/r3.info/r3.info.main.c	2014-07-07 20:11:16 UTC (rev 61172)
@@ -490,7 +490,7 @@
 int format_double(double value, char *buf)
 {
 
-    sprintf(buf, "%.8lf", value);
+    sprintf(buf, "%.8f", value);
     G_trim_decimal(buf);
     return 0;
 }



More information about the grass-commit mailing list