[GRASS-SVN] r59620 - grass/branches/develbranch_6/raster/r.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 7 01:46:05 PDT 2014
Author: mmetz
Date: 2014-04-07 01:46:05 -0700 (Mon, 07 Apr 2014)
New Revision: 59620
Modified:
grass/branches/develbranch_6/raster/r.to.vect/main.c
Log:
r.to.vect: substitute variables
Modified: grass/branches/develbranch_6/raster/r.to.vect/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.to.vect/main.c 2014-04-07 08:45:52 UTC (rev 59619)
+++ grass/branches/develbranch_6/raster/r.to.vect/main.c 2014-04-07 08:46:05 UTC (rev 59620)
@@ -154,7 +154,7 @@
Vect_map_add_dblink(&Map, 1, NULL, Fi->table, "cat", Fi->database,
Fi->driver);
- driver = db_start_driver_open_database(Fi->driver, Fi->database);
+ driver = db_start_driver_open_database(Fi->driver, Vect_subst_var(Fi->database, &Map));
if (driver == NULL)
G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
Fi->database, Fi->driver);
More information about the grass-commit
mailing list