[GRASS-SVN] r58289 - grass/trunk/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 24 07:46:40 PST 2013


Author: martinl
Date: 2013-11-24 07:46:40 -0800 (Sun, 24 Nov 2013)
New Revision: 58289

Modified:
   grass/trunk/display/d.vect/area.c
Log:
d.vect: clarify warning message (invalid area)


Modified: grass/trunk/display/d.vect/area.c
===================================================================
--- grass/trunk/display/d.vect/area.c	2013-11-24 07:23:28 UTC (rev 58288)
+++ grass/trunk/display/d.vect/area.c	2013-11-24 15:46:40 UTC (rev 58289)
@@ -79,7 +79,7 @@
 		    continue;
 	    }
 	}
-	
+
 	custom_rgb = FALSE;
 		
 	found = FALSE;
@@ -134,7 +134,7 @@
 	Vect_get_area_points(Map, area, APoints);
 	G_debug(3, "\tn_points = %d", APoints->n_points);
 	if (APoints->n_points < 3) {
-	    G_warning(_("Invalid area %d skipped"), area);
+	    G_warning(_("Invalid area %d skipped (not enough points)"), area);
 	    continue;
 	}
 	Vect_reset_line(Points);



More information about the grass-commit mailing list