[GRASS-SVN] r61189 - grass/trunk/raster/r.info

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 8 07:24:41 PDT 2014


Author: annakrat
Date: 2014-07-08 07:24:41 -0700 (Tue, 08 Jul 2014)
New Revision: 61189

Modified:
   grass/trunk/raster/r.info/main.c
Log:
r.info: fix reporting categories on Windows, related to #2357 (r3.info crash on Windows)

Modified: grass/trunk/raster/r.info/main.c
===================================================================
--- grass/trunk/raster/r.info/main.c	2014-07-08 13:00:09 UTC (rev 61188)
+++ grass/trunk/raster/r.info/main.c	2014-07-08 14:24:41 UTC (rev 61189)
@@ -413,7 +413,7 @@
 
 static void format_double(const double value, char *buf)
 {
-    sprintf(buf, "%.8lf", value);
+    sprintf(buf, "%.8f", value);
     G_trim_decimal(buf);
 }
 



More information about the grass-commit mailing list