[GRASS-SVN] r61452 - in grass/branches/releasebranch_7_0: . lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 29 14:25:33 PDT 2014


Author: neteler
Date: 2014-07-29 14:25:32 -0700 (Tue, 29 Jul 2014)
New Revision: 61452

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/lib/vector/Vlib/level_two.c
Log:
Vlib: revert r60691, fix the module instead (trunk, r61447)


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:60590
   + /grass/trunk:60590,61447

Modified: grass/branches/releasebranch_7_0/lib/vector/Vlib/level_two.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/Vlib/level_two.c	2014-07-29 21:08:42 UTC (rev 61451)
+++ grass/branches/releasebranch_7_0/lib/vector/Vlib/level_two.c	2014-07-29 21:25:32 UTC (rev 61452)
@@ -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