[GRASS-SVN] r41174 - grass/trunk/vector/v.to.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 24 03:50:05 EST 2010


Author: mmetz
Date: 2010-02-24 03:50:03 -0500 (Wed, 24 Feb 2010)
New Revision: 41174

Modified:
   grass/trunk/vector/v.to.rast/raster.c
Log:
bugfix for n passes >1

Modified: grass/trunk/vector/v.to.rast/raster.c
===================================================================
--- grass/trunk/vector/v.to.rast/raster.c	2010-02-24 08:22:11 UTC (rev 41173)
+++ grass/trunk/vector/v.to.rast/raster.c	2010-02-24 08:50:03 UTC (rev 41174)
@@ -124,7 +124,7 @@
     /* change the region */
     page.north = region.north - at_row * region.ns_res;
     page.south = page.north - nrows * region.ns_res;
-    Rast_set_window(&page);
+    G_set_window(&page);
 
     /* configure the plot routines */
     G_setup_plot(-0.5, page.rows - 0.5, -0.5, page.cols - 0.5, move, cont);



More information about the grass-commit mailing list