[GRASS-SVN] r49042 - grass-addons/grass7/raster/r.stream/r.stream.order

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 2 04:57:27 EDT 2011


Author: mmetz
Date: 2011-11-02 01:57:27 -0700 (Wed, 02 Nov 2011)
New Revision: 49042

Modified:
   grass-addons/grass7/raster/r.stream/r.stream.order/stream_vector.c
Log:
substitute vars

Modified: grass-addons/grass7/raster/r.stream/r.stream.order/stream_vector.c
===================================================================
--- grass-addons/grass7/raster/r.stream/r.stream.order/stream_vector.c	2011-11-02 08:56:29 UTC (rev 49041)
+++ grass-addons/grass7/raster/r.stream/r.stream.order/stream_vector.c	2011-11-02 08:57:27 UTC (rev 49042)
@@ -220,7 +220,9 @@
     db_init_handle(&handle);
 
     Fi = Vect_default_field_info(&Out, 1, NULL, GV_1TABLE);
-    driver = db_start_driver_open_database(Fi->driver, Fi->database);
+    driver = db_start_driver_open_database(Fi->driver,
+					   Vect_subst_var(Fi->database,
+							         &Out));
 
     /* create table */
     for (i = 0; i < number_of_streams; ++i)



More information about the grass-commit mailing list