[GRASS-SVN] r34293 - grass/branches/develbranch_6/raster/r.terraflow
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 14 12:09:21 EST 2008
Author: neteler
Date: 2008-11-14 12:09:21 -0500 (Fri, 14 Nov 2008)
New Revision: 34293
Modified:
grass/branches/develbranch_6/raster/r.terraflow/main.cc
Log:
fix order
Modified: grass/branches/develbranch_6/raster/r.terraflow/main.cc
===================================================================
--- grass/branches/develbranch_6/raster/r.terraflow/main.cc 2008-11-14 15:43:49 UTC (rev 34292)
+++ grass/branches/develbranch_6/raster/r.terraflow/main.cc 2008-11-14 17:09:21 UTC (rev 34293)
@@ -480,12 +480,13 @@
assert(region);
parse_args(argc, argv);
- check_args();
/* get the current region and dimensions */
if (G_get_set_window(region) == -1) {
G_fatal_error("r.terraflow: error getting current region");
}
+ check_args();
+
int nr = G_window_rows();
int nc = G_window_cols();
if ((nr > dimension_type_max) || (nc > dimension_type_max)) {
More information about the grass-commit
mailing list