[GRASS-SVN] r52909 - grass/trunk/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 25 08:21:33 PDT 2012


Author: mmetz
Date: 2012-08-25 08:21:33 -0700 (Sat, 25 Aug 2012)
New Revision: 52909

Modified:
   grass/trunk/lib/raster/color_write.c
Log:
rasterlib: rephrase comment

Modified: grass/trunk/lib/raster/color_write.c
===================================================================
--- grass/trunk/lib/raster/color_write.c	2012-08-25 14:28:15 UTC (rev 52908)
+++ grass/trunk/lib/raster/color_write.c	2012-08-25 15:21:33 UTC (rev 52909)
@@ -250,7 +250,7 @@
     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 */
+	/* lower dval by GRASS_EPSILON fraction */
 	if (dval > 0)
 	    sprintf(str, "%.15g", dval * (1 - GRASS_EPSILON));
 	else
@@ -268,7 +268,7 @@
     G_trim_decimal(str);
     sscanf(str, "%lf", &dtmp);
     if (dtmp != dval) {  /* if  no zeros after decimal point were trimmed */
-	/* increase dval by fraction of GRASS_EPSILON */
+	/* increase dval by by GRASS_EPSILON fraction */
 	if (dval > 0)
 	    sprintf(str, "%.15g", dval * (1 + GRASS_EPSILON));
 	else



More information about the grass-commit mailing list