[GRASS-SVN] r49041 - grass-addons/grass7/raster/r.stream.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 2 04:56:29 EDT 2011


Author: mmetz
Date: 2011-11-02 01:56:29 -0700 (Wed, 02 Nov 2011)
New Revision: 49041

Modified:
   grass-addons/grass7/raster/r.stream.extract/close.c
Log:
substitute vars

Modified: grass-addons/grass7/raster/r.stream.extract/close.c
===================================================================
--- grass-addons/grass7/raster/r.stream.extract/close.c	2011-11-01 15:21:15 UTC (rev 49040)
+++ grass-addons/grass7/raster/r.stream.extract/close.c	2011-11-02 08:56:29 UTC (rev 49041)
@@ -164,7 +164,9 @@
     /* Preparing database for use */
     /* Create database for new vector map */
     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));
     if (driver == NULL) {
 	G_fatal_error(_("Unable to start driver <%s>"), Fi->driver);
     }



More information about the grass-commit mailing list