Browse Source

Vlib: Fix resetting boxlist

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70712 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 8 năm trước cách đây
mục cha
commit
7221de1d89
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/vector/Vlib/sindex.c

+ 1 - 1
lib/vector/Vlib/sindex.c

@@ -44,7 +44,7 @@ Vect_select_lines_by_box(struct Map_info *Map, const struct bound_box *Box,
 	    Box->E, Box->W, Box->T, Box->B);
     plus = &(Map->plus);
 
-    Vect_reset_list(list);
+    Vect_reset_boxlist(list);
 
     ntypes = mtype = 0;
     /* count the number of different primitives in Map */