[GRASS-SVN] r61447 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 28 23:37:43 PDT 2014


Author: mmetz
Date: 2014-07-28 23:37:43 -0700 (Mon, 28 Jul 2014)
New Revision: 61447

Modified:
   grass/trunk/lib/vector/Vlib/level_two.c
Log:
Vlib: revert r60691, fix the module instead

Modified: grass/trunk/lib/vector/Vlib/level_two.c
===================================================================
--- grass/trunk/lib/vector/Vlib/level_two.c	2014-07-29 05:16:04 UTC (rev 61446)
+++ grass/trunk/lib/vector/Vlib/level_two.c	2014-07-29 06:37:43 UTC (rev 61447)
@@ -437,7 +437,7 @@
 
     check_level(Map);
     
-    if (centroid == 0 || Map->plus.Line[centroid]->type != GV_CENTROID)
+    if (Map->plus.Line[centroid]->type != GV_CENTROID)
 	return 0;
     
     topo = (struct P_topo_c *)Map->plus.Line[centroid]->topo;



More information about the grass-commit mailing list