[GRASS-SVN] r49043 - grass-addons/raster/r.stream.extract
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 2 05:03:15 EDT 2011
Author: mmetz
Date: 2011-11-02 02:03:15 -0700 (Wed, 02 Nov 2011)
New Revision: 49043
Modified:
grass-addons/raster/r.stream.extract/close.c
Log:
substitute vars
Modified: grass-addons/raster/r.stream.extract/close.c
===================================================================
--- grass-addons/raster/r.stream.extract/close.c 2011-11-02 08:57:27 UTC (rev 49042)
+++ grass-addons/raster/r.stream.extract/close.c 2011-11-02 09:03:15 UTC (rev 49043)
@@ -163,7 +163,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