[GRASS-SVN] r51047 - grass/trunk/vector/v.edit

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 12 07:17:58 EDT 2012


Author: martinl
Date: 2012-03-12 04:17:58 -0700 (Mon, 12 Mar 2012)
New Revision: 51047

Modified:
   grass/trunk/vector/v.edit/main.c
Log:
v.edit: clarify message (no topo available)


Modified: grass/trunk/vector/v.edit/main.c
===================================================================
--- grass/trunk/vector/v.edit/main.c	2012-03-12 11:00:32 UTC (rev 51046)
+++ grass/trunk/vector/v.edit/main.c	2012-03-12 11:17:58 UTC (rev 51047)
@@ -123,8 +123,9 @@
 	    ret = Vect_open_old2(&Map, params.map->answer, G_mapset(), params.fld->answer);
 	
 	if (ret < 2)
-	    G_fatal_error(_("Unable to open vector map <%s> at topological level %d"),
-			  params.map->answer, 2);
+	    G_fatal_error(_("Unable to open vector map <%s> on topological level. "
+			    "Try to rebuild vector topology by v.build."),
+			  params.map->answer);
     }
 
     G_debug(1, "Map opened");



More information about the grass-commit mailing list