[GRASS-SVN] r33206 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 2 04:42:51 EDT 2008


Author: martinl
Date: 2008-09-02 04:42:42 -0400 (Tue, 02 Sep 2008)
New Revision: 33206

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/open.c
Log:
vlib: message cosmetics


Modified: grass/branches/develbranch_6/lib/vector/Vlib/open.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/open.c	2008-09-02 08:23:33 UTC (rev 33205)
+++ grass/branches/develbranch_6/lib/vector/Vlib/open.c	2008-09-02 08:42:42 UTC (rev 33206)
@@ -208,7 +208,8 @@
     /* Read vector head */
     if (Vect__read_head(Map) != GRASS_OK) {
 	sprintf(errmsg,
-		_("Unable to open vector map <%s> on topology level %d"),
+		_("Unable to open vector map <%s> on level %d. "
+		  "Try to rebuild vector topology by v.build."),
 		Vect_get_full_name(Map), level_request);
 	G_warning(_("Unable to read head file"));
     }
@@ -275,7 +276,8 @@
 #endif
 	if (level_request == 2 && level < 2) {
 	    sprintf(errmsg,
-		    _("Unable to open vector map <%s> on topology level %d"),
+		    _("Unable to open vector map <%s> on level %d. "
+		      "Try to rebuild vector topology by v.build."),
 		    Vect_get_full_name(Map), level_request);
 	    fatal_error(ferror, errmsg);
 	    return -1;
@@ -294,7 +296,8 @@
 		dig_cidx_free(&(Map->plus));
 	    }
 	    sprintf(errmsg,
-		    _("Unable to open vector map <%s> on topology level %d"),
+		    _("Unable to open vector map <%s> on level %d. "
+		      "Try to rebuild vector topology by v.build."),
 		    Vect_get_full_name(Map), level_request);
 	    fatal_error(ferror, errmsg);
 	    return -1;



More information about the grass-commit mailing list