[GRASS-SVN] r37262 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 18 08:05:20 EDT 2009


Author: hamish
Date: 2009-05-18 08:05:20 -0400 (Mon, 18 May 2009)
New Revision: 37262

Modified:
   grass/branches/releasebranch_6_4/lib/gis/mapset_nme.c
Log:
rblazek: fix for QGIS crash

Modified: grass/branches/releasebranch_6_4/lib/gis/mapset_nme.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/mapset_nme.c	2009-05-18 12:03:30 UTC (rev 37261)
+++ grass/branches/releasebranch_6_4/lib/gis/mapset_nme.c	2009-05-18 12:05:20 UTC (rev 37262)
@@ -197,6 +197,7 @@
 	    /* Add to list */
 	    mapsets[n] = G_store(ent->d_name);
 	    n++;
+	    mapsets[n] = NULL;
 	}
 	else {
 	    G_debug(4, "%s is not mapset", ent->d_name);



More information about the grass-commit mailing list