[GRASS-SVN] r62036 - grass/trunk/lib/pngdriver

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 18 20:02:50 PDT 2014


Author: glynn
Date: 2014-09-18 20:02:50 -0700 (Thu, 18 Sep 2014)
New Revision: 62036

Modified:
   grass/trunk/lib/pngdriver/Raster.c
Log:
Fix bug in PNG driver triggered by r62026


Modified: grass/trunk/lib/pngdriver/Raster.c
===================================================================
--- grass/trunk/lib/pngdriver/Raster.c	2014-09-18 18:55:02 UTC (rev 62035)
+++ grass/trunk/lib/pngdriver/Raster.c	2014-09-19 03:02:50 UTC (rev 62036)
@@ -122,7 +122,7 @@
     int x, y;
 
     if (y1 <= y0)
-	return next_row(row, d_y0);
+	return next_row(row, d_y1);
 
     for (x = x0; x < x1; x++) {
 	int xx = dst[0][0] + x;



More information about the grass-commit mailing list