[GRASS-SVN] r54773 - grass-addons/grass6/vector/v.strahler/v.strahler
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 26 08:21:33 PST 2013
Author: neteler
Date: 2013-01-26 08:21:32 -0800 (Sat, 26 Jan 2013)
New Revision: 54773
Modified:
grass-addons/grass6/vector/v.strahler/v.strahler/helper.c
grass-addons/grass6/vector/v.strahler/v.strahler/main.c
Log:
fix missing Box initialization; fix comment in comment
Modified: grass-addons/grass6/vector/v.strahler/v.strahler/helper.c
===================================================================
--- grass-addons/grass6/vector/v.strahler/v.strahler/helper.c 2013-01-26 15:22:36 UTC (rev 54772)
+++ grass-addons/grass6/vector/v.strahler/v.strahler/helper.c 2013-01-26 16:21:32 UTC (rev 54773)
@@ -14,6 +14,7 @@
if (sloppy != 0.0) {
Vect_get_node_coor(In, node, &x, &y, NULL);
+ Vect_get_map_box(In, Box);
Box->N = y + sloppy;
Box->S = y - sloppy;
Box->W = x + sloppy;
Modified: grass-addons/grass6/vector/v.strahler/v.strahler/main.c
===================================================================
--- grass-addons/grass6/vector/v.strahler/v.strahler/main.c 2013-01-26 15:22:36 UTC (rev 54772)
+++ grass-addons/grass6/vector/v.strahler/v.strahler/main.c 2013-01-26 16:21:32 UTC (rev 54773)
@@ -178,7 +178,7 @@
#ifdef COPYBLAH
/* this works, we want to continue here and ADD two columns to the &Out */
/* Copy input to output (from v.clean/main.c) */
- /*G_debug( 1, "Copying vector lines to Output" );
+ /*G_debug( 1, "Copying vector lines to Output" ); */
/* This works for both level 1 and 2 */
/*Vect_copy_map_lines ( &In, &Out ); */
More information about the grass-commit
mailing list