[GRASS-SVN] r61853 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 10 14:55:33 PDT 2014


Author: glynn
Date: 2014-09-10 14:55:33 -0700 (Wed, 10 Sep 2014)
New Revision: 61853

Modified:
   grass/trunk/lib/gis/find_file.c
Log:
Fix bug in r61840


Modified: grass/trunk/lib/gis/find_file.c
===================================================================
--- grass/trunk/lib/gis/find_file.c	2014-09-10 19:29:17 UTC (rev 61852)
+++ grass/trunk/lib/gis/find_file.c	2014-09-10 21:55:33 UTC (rev 61853)
@@ -118,9 +118,9 @@
 	}
 	if (cnt > 0) {
 	    if (misc)
-		G_file_name_misc(path, dir, element, pname, pmapset);
+		G_file_name_misc(path, dir, element, pname, pselmapset);
 	    else
-		G_file_name(path, element, name, pmapset);
+		G_file_name(path, element, name, pselmapset);
 	    if (access(path, 0) == 0) {
 		/* If the same name exists in more mapsets and print a warning */
 		if (cnt > 1 && element == pelement)



More information about the grass-commit mailing list