[GRASS-SVN] r61042 - grass/branches/releasebranch_7_0/general/g.mremove
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 28 16:06:09 PDT 2014
Author: hcho
Date: 2014-06-28 16:06:09 -0700 (Sat, 28 Jun 2014)
New Revision: 61042
Modified:
grass/branches/releasebranch_7_0/general/g.mremove/check_reclass.c
Log:
g.mremove: backport from trunk
Modified: grass/branches/releasebranch_7_0/general/g.mremove/check_reclass.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.mremove/check_reclass.c 2014-06-28 23:04:32 UTC (rev 61041)
+++ grass/branches/releasebranch_7_0/general/g.mremove/check_reclass.c 2014-06-28 23:06:09 UTC (rev 61042)
@@ -1,7 +1,5 @@
#include <string.h>
-
#include <grass/gis.h>
-#include <grass/manage.h>
#include <grass/raster.h>
#include <grass/glocale.h>
@@ -18,8 +16,7 @@
G_warning(_("Raster map <%s@%s> is a base map for <%s>. Remove forced."),
name, mapset, *rmaps);
else
- G_warning(_
- ("Raster map <%s@%s> is a base map. Remove reclassed map first: %s"),
+ G_warning(_("Raster map <%s@%s> is a base map. Remove reclassed map <%s> first."),
name, mapset, *rmaps);
}
@@ -41,8 +38,7 @@
if (nrmaps == 1 && !G_strcasecmp(rmaps[0], qname)) {
if (remove(path) < 0)
- G_warning(_
- ("Removing information about reclassed map from [%s@%s] failed"),
+ G_warning(_("Removing information about reclassed map from <%s@%s> failed"),
rname, rmapset);
}
else {
@@ -55,10 +51,8 @@
fclose(fp);
}
else
- G_warning(_
- ("Removing information about reclassed map from [%s@%s] failed"),
+ G_warning(_("Removing information about reclassed map from <%s@%s> failed"),
rname, rmapset);
-
}
}
More information about the grass-commit
mailing list