浏览代码

cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36445 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 16 年之前
父节点
当前提交
6f1cd1759b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/vector/Vlib/open.c

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

@@ -547,7 +547,7 @@ int Vect_open_new(struct Map_info *Map, const char *name, int with_z)
     }
 
     /* Check if map already exists */
-    if (G_find_file2(GRASS_VECT_DIRECTORY, name, G_mapset()) != NULL) {
+    if (G_find_vector2(name, G_mapset()) != NULL) {
 	G_warning(_("Vector map <%s> already exists and will be overwritten"),
 		  name);