[GRASS-SVN] r59619 - grass/branches/releasebranch_6_4/raster/r.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 7 01:45:52 PDT 2014
Author: mmetz
Date: 2014-04-07 01:45:52 -0700 (Mon, 07 Apr 2014)
New Revision: 59619
Modified:
grass/branches/releasebranch_6_4/raster/r.to.vect/main.c
Log:
r.to.vect: substitute variables
Modified: grass/branches/releasebranch_6_4/raster/r.to.vect/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.to.vect/main.c 2014-04-07 08:04:44 UTC (rev 59618)
+++ grass/branches/releasebranch_6_4/raster/r.to.vect/main.c 2014-04-07 08:45:52 UTC (rev 59619)
@@ -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);
@@ -288,7 +288,7 @@
}
Vect_close(&Map);
- G_done_msg("");
+ G_done_msg(" ");
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list