Przeglądaj źródła

remove redundant code in vector lib: update v.edit

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46963 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 lat temu
rodzic
commit
769cd6c702
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      vector/v.edit/select.c

+ 2 - 2
vector/v.edit/select.c

@@ -350,7 +350,7 @@ int sel_by_bbox(struct Map_info *Map,
 	first_selection = 0;
     }
     else {
-	List_tmp = Vect_new_boxlist();
+	List_tmp = Vect_new_boxlist(0);
     }
 
     /* bounding box */
@@ -367,7 +367,7 @@ int sel_by_bbox(struct Map_info *Map,
 
     /* merge lists (only duplicate items) */
     if (List_tmp != List) {
-	merge_lists(List, List_tmp);
+	merge_lists2(List, List_tmp);
 	Vect_destroy_boxlist(List_tmp);
     }