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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 20 07:06:33 PDT 2012


Author: mmetz
Date: 2012-08-20 07:06:32 -0700 (Mon, 20 Aug 2012)
New Revision: 52775

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/cats.c
Log:
Vlib fix for multiple cats in the same layer

Modified: grass/branches/develbranch_6/lib/vector/Vlib/cats.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/cats.c	2012-08-20 14:05:47 UTC (rev 52774)
+++ grass/branches/develbranch_6/lib/vector/Vlib/cats.c	2012-08-20 14:06:32 UTC (rev 52775)
@@ -275,6 +275,7 @@
 	    }
 	    Cats->n_cats--;
 	    found = 1;
+	    n--;		/* check again this position */
 	}
     }
 



More information about the grass-commit mailing list