[GRASS-SVN] r52886 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 25 04:08:00 PDT 2012
Author: mmetz
Date: 2012-08-25 04:07:59 -0700 (Sat, 25 Aug 2012)
New Revision: 52886
Modified:
grass/trunk/lib/raster/color_write.c
Log:
format code
Modified: grass/trunk/lib/raster/color_write.c
===================================================================
--- grass/trunk/lib/raster/color_write.c 2012-08-25 11:03:08 UTC (rev 52885)
+++ grass/trunk/lib/raster/color_write.c 2012-08-25 11:07:59 UTC (rev 52886)
@@ -248,7 +248,6 @@
sprintf(str, "%.15g", dval);
/* Note that G_trim_decimal() does not trim e.g. 1.0000000e-20 */
G_trim_decimal(str);
-
sscanf(str, "%lf", &dtmp);
if (dtmp != dval) { /* if no zeros after decimal point were trimmed */
/* lower dval by fraction of GRASS_EPSILON */
More information about the grass-commit
mailing list