Explorar o código

g.mlist: Read vector header only for performance improvement

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61076 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho %!s(int64=10) %!d(string=hai) anos
pai
achega
2b9ed8f5e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      general/g.mlist/main.c

+ 1 - 1
general/g.mlist/main.c

@@ -448,7 +448,7 @@ static int region_overlaps(struct Cell_head *window, const char *name,
 	break;
     case TYPE_VECT:
 	Vect_set_open_level(2);
-	if (Vect_open_old(&Map, name, mapset) < 2)
+	if (Vect_open_old_head(&Map, name, mapset) < 2)
 	    G_fatal_error(_("Unable to open vector map <%s@%s> on topological level"),
 			  name, mapset);
 	Vect_get_map_box(&Map, &box);