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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 4 02:28:22 EST 2009


Author: glynn
Date: 2009-12-04 02:28:18 -0500 (Fri, 04 Dec 2009)
New Revision: 39889

Modified:
   grass/trunk/lib/raster/get_row.c
Log:
Fix bug #369


Modified: grass/trunk/lib/raster/get_row.c
===================================================================
--- grass/trunk/lib/raster/get_row.c	2009-12-04 07:21:40 UTC (rev 39888)
+++ grass/trunk/lib/raster/get_row.c	2009-12-04 07:28:18 UTC (rev 39889)
@@ -1076,7 +1076,7 @@
 
     for (i = 0; i < G__.window.cols; i++)
 	/* note: using == won't work if the null value is NaN */
-	flags[i] =
+	flags[i] = !fcb->col_map[i] ||
 	    memcmp(&tmp_buf[i], &fcb->gdal->null_val, sizeof(DCELL)) == 0;
 
     G_free(tmp_buf);



More information about the grass-commit mailing list