[GRASS-SVN] r54540 - grass/trunk/raster/r.cost
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 5 13:58:41 PST 2013
Author: martinl
Date: 2013-01-05 13:58:40 -0800 (Sat, 05 Jan 2013)
New Revision: 54540
Modified:
grass/trunk/raster/r.cost/main.c
Log:
r.cost: message cosmetics (reading vector map)
Modified: grass/trunk/raster/r.cost/main.c
===================================================================
--- grass/trunk/raster/r.cost/main.c 2013-01-05 20:25:27 UTC (rev 54539)
+++ grass/trunk/raster/r.cost/main.c 2013-01-05 21:58:40 UTC (rev 54540)
@@ -514,8 +514,6 @@
struct start_pt *new_start_pt;
int cat, type, got_one = 0;
- G_message(_("Reading vector map <%s> with start points..."), opt7->answer);
-
Points = Vect_new_line_struct();
Cats = Vect_new_cats_struct();
@@ -524,6 +522,9 @@
if (1 > Vect_open_old(&In, opt7->answer, ""))
G_fatal_error(_("Unable to open vector map <%s>"), opt7->answer);
+ G_message(_("Reading vector map <%s> with start points..."),
+ Vect_get_full_name(&In));
+
Vect_rewind(&In);
Vect_region_box(&window, &box);
More information about the grass-commit
mailing list