[GRASS-SVN] r52546 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 5 13:39:26 PDT 2012


Author: mmetz
Date: 2012-08-05 13:39:26 -0700 (Sun, 05 Aug 2012)
New Revision: 52546

Modified:
   grass/trunk/lib/vector/diglib/spindex_rw.c
Log:
diglib: changed rtree search fn def

Modified: grass/trunk/lib/vector/diglib/spindex_rw.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex_rw.c	2012-08-05 20:29:08 UTC (rev 52545)
+++ grass/trunk/lib/vector/diglib/spindex_rw.c	2012-08-05 20:39:26 UTC (rev 52546)
@@ -1411,7 +1411,7 @@
 		    hitCount++;
 		    if (shcb) {	/* call the user-provided callback */
 			if (!shcb((int)s[top].sn.branch[i].child.id,
-				  s[top].sn.branch[i].rect, cbarg)) {
+				  &s[top].sn.branch[i].rect, cbarg)) {
 			    /* callback wants to terminate search early */
 			    return hitCount;
 			}



More information about the grass-commit mailing list