[GRASS-SVN] r65525 - grass/trunk/lib/manage

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 27 18:12:25 PDT 2015


Author: wenzeslaus
Date: 2015-06-27 18:12:25 -0700 (Sat, 27 Jun 2015)
New Revision: 65525

Modified:
   grass/trunk/lib/manage/do_remove.c
Log:
fix r65524 (wrong variable name)

Modified: grass/trunk/lib/manage/do_remove.c
===================================================================
--- grass/trunk/lib/manage/do_remove.c	2015-06-26 21:29:51 UTC (rev 65524)
+++ grass/trunk/lib/manage/do_remove.c	2015-06-28 01:12:25 UTC (rev 65525)
@@ -97,9 +97,9 @@
     }
 
     if (G_strcasecmp(list[n].element[0], "cell") == 0) {
-	char colr2[G_MAX_PATH];
+	char colr2[GPATH_MAX];
 
-	G_snprintf(colr2, G_MAX_PATH, "colr2/%s", G_mapset());
+	G_snprintf(colr2, GPATH_MAX, "colr2/%s", G_mapset());
 	switch (G_remove(colr2, old)) {
 	case -1:
 	    G_warning(_("Unable to remove %s"), colr2);



More information about the grass-commit mailing list