[GRASS-SVN] r30939 - grass/trunk/general/g.mapsets

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 11 10:51:33 EDT 2008


Author: martinl
Date: 2008-04-11 10:51:33 -0400 (Fri, 11 Apr 2008)
New Revision: 30939

Modified:
   grass/trunk/general/g.mapsets/main_cmd.c
Log:
g.mapsets: increment 'nchoices' otherwise no mapset will removed from search path

Modified: grass/trunk/general/g.mapsets/main_cmd.c
===================================================================
--- grass/trunk/general/g.mapsets/main_cmd.c	2008-04-11 13:06:55 UTC (rev 30938)
+++ grass/trunk/general/g.mapsets/main_cmd.c	2008-04-11 14:51:33 UTC (rev 30939)
@@ -153,6 +153,7 @@
 	    if (found)
 		continue;
 
+	    nchoices++;
 	    strcat (Path, oldname);
 	    strcat (Path, " "); 
 	}



More information about the grass-commit mailing list