[GRASS-SVN] r38025 - grass/trunk/general/g.setproj
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 22 07:50:10 EDT 2009
Author: glynn
Date: 2009-06-22 07:50:10 -0400 (Mon, 22 Jun 2009)
New Revision: 38025
Modified:
grass/trunk/general/g.setproj/main.c
Log:
Use correct *_set_window() function
Modified: grass/trunk/general/g.setproj/main.c
===================================================================
--- grass/trunk/general/g.setproj/main.c 2009-06-22 11:45:35 UTC (rev 38024)
+++ grass/trunk/general/g.setproj/main.c 2009-06-22 11:50:10 UTC (rev 38025)
@@ -100,7 +100,7 @@
G_fatal_error(_("PERMANENT: permission denied"));
}
G_get_default_window(&cellhd);
- if (-1 == Rast_set_window(&cellhd))
+ if (-1 == G_set_window(&cellhd))
G_fatal_error(_("Current region cannot be set"));
if (G_get_set_window(&cellhd) == -1)
More information about the grass-commit
mailing list