ソースを参照

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);