[GRASS-SVN] r58647 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 8 12:49:29 PST 2014
Author: mmetz
Date: 2014-01-08 12:49:29 -0800 (Wed, 08 Jan 2014)
New Revision: 58647
Modified:
grass/trunk/lib/vector/Vlib/remove_areas.c
Log:
Vlib: fix Vect_remove_small_areas_nat()
Modified: grass/trunk/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/trunk/lib/vector/Vlib/remove_areas.c 2014-01-08 20:47:03 UTC (rev 58646)
+++ grass/trunk/lib/vector/Vlib/remove_areas.c 2014-01-08 20:49:29 UTC (rev 58647)
@@ -17,7 +17,7 @@
#include <grass/vector.h>
#include <grass/glocale.h>
-/* #define DEGUG_RMAREA */
+#define DEGUG_RMAREA
int Vect_remove_small_areas_nat(struct Map_info *, double,
struct Map_info *, double *);
@@ -562,6 +562,7 @@
new_isle = Vect_build_line_area(Map, abs(line), (line > 0 ? GV_RIGHT : GV_LEFT));
if (new_isle < 0) {
Vect_list_append(IList, -new_isle);
+ }
else {
/* should not happen */
G_warning(_("Failed to build new isle"));
More information about the grass-commit
mailing list