[GRASS-SVN] r47601 - grass-addons/grass7/imagery/i.topo.corr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 12 09:51:16 EDT 2011


Author: neteler
Date: 2011-08-12 06:51:16 -0700 (Fri, 12 Aug 2011)
New Revision: 47601

Modified:
   grass-addons/grass7/imagery/i.topo.corr/illumination.c
Log:
fix get_window

Modified: grass-addons/grass7/imagery/i.topo.corr/illumination.c
===================================================================
--- grass-addons/grass7/imagery/i.topo.corr/illumination.c	2011-08-12 12:28:05 UTC (rev 47600)
+++ grass-addons/grass7/imagery/i.topo.corr/illumination.c	2011-08-12 13:51:16 UTC (rev 47601)
@@ -121,7 +121,7 @@
     double H, V, dx, dy, key, north, east, south, west, center;
     double cos_i, cos_z, sin_z, slope, aspect;
 
-    G_get_set_window(&window);
+    Rast_get_window(&window);
 
     G_begin_distance_calculations();
     north = Rast_row_to_northing(0.5, &window);
@@ -214,7 +214,7 @@
     double H, V, dx, dy, key, north, east, south, west, center;
     double cos_i, cos_z, sin_z, slope, aspect;
 
-    G_get_set_window(&window);
+    Rast_get_window(&window);
 
     G_begin_distance_calculations();
     north = Rast_row_to_northing(0.5, &window);



More information about the grass-commit mailing list