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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 4 11:19:10 PDT 2012


Author: mmetz
Date: 2012-08-04 11:19:10 -0700 (Sat, 04 Aug 2012)
New Revision: 52518

Modified:
   grass/trunk/lib/vector/Vlib/find.c
Log:
Vlib: swap bboxes

Modified: grass/trunk/lib/vector/Vlib/find.c
===================================================================
--- grass/trunk/lib/vector/Vlib/find.c	2012-08-04 05:11:14 UTC (rev 52517)
+++ grass/trunk/lib/vector/Vlib/find.c	2012-08-04 18:19:10 UTC (rev 52518)
@@ -307,6 +307,8 @@
 	if (size_list[1].size < size_list[0].size) {
 	    size_list[0].i = List->id[1];
 	    size_list[1].i = List->id[0];
+	    size_list[0].box = List->box[1];
+	    size_list[1].box = List->box[0];
 	}
     }
     else if (List->n_values > 2)



More information about the grass-commit mailing list