[GRASS-SVN] r36445 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 21 05:19:54 EDT 2009


Author: mmetz
Date: 2009-03-21 05:19:54 -0400 (Sat, 21 Mar 2009)
New Revision: 36445

Modified:
   grass/trunk/lib/vector/Vlib/open.c
Log:
cosmetics

Modified: grass/trunk/lib/vector/Vlib/open.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open.c	2009-03-21 09:13:16 UTC (rev 36444)
+++ grass/trunk/lib/vector/Vlib/open.c	2009-03-21 09:19:54 UTC (rev 36445)
@@ -547,7 +547,7 @@
     }
 
     /* 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);
 



More information about the grass-commit mailing list