[GRASS-SVN] r52536 - grass/trunk/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 5 01:16:28 PDT 2012


Author: mmetz
Date: 2012-08-05 01:16:27 -0700 (Sun, 05 Aug 2012)
New Revision: 52536

Modified:
   grass/trunk/vector/v.distance/main.c
Log:
v.distance fn def update

Modified: grass/trunk/vector/v.distance/main.c
===================================================================
--- grass/trunk/vector/v.distance/main.c	2012-08-05 08:14:14 UTC (rev 52535)
+++ grass/trunk/vector/v.distance/main.c	2012-08-05 08:16:27 UTC (rev 52536)
@@ -796,7 +796,7 @@
 		    Vect_get_area_points(&To, area, TPoints);
 
 		    /* Find the distance to this area */
-		    if (Vect_point_in_area(FPoints->x[0], FPoints->y[0], &To, area, List->box[i])) {	/* in area */
+		    if (Vect_point_in_area(FPoints->x[0], FPoints->y[0], &To, area, &List->box[i])) {	/* in area */
 			tmp_dist = 0;
 			tmp_tx = FPoints->x[0];
 			tmp_ty = FPoints->y[0];



More information about the grass-commit mailing list