[GRASS-SVN] r64012 - grass/branches/releasebranch_7_0/general/g.rename
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 8 12:33:49 PST 2015
Author: neteler
Date: 2015-01-08 12:33:49 -0800 (Thu, 08 Jan 2015)
New Revision: 64012
Modified:
grass/branches/releasebranch_7_0/general/g.rename/main.c
Log:
use new element names (#2409)
Modified: grass/branches/releasebranch_7_0/general/g.rename/main.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.rename/main.c 2015-01-08 20:31:24 UTC (rev 64011)
+++ grass/branches/releasebranch_7_0/general/g.rename/main.c 2015-01-08 20:33:49 UTC (rev 64012)
@@ -93,7 +93,7 @@
result = EXIT_FAILURE;
}
- if (!renamed && strcmp(parm[n]->key, "rast") == 0 &&
+ if (!renamed && strcmp(parm[n]->key, "raster") == 0 &&
Rast_is_reclassed_to(old, mapset, &nrmaps, &rmaps) > 0) {
int ptr, l;
char buf1[256], buf2[256], buf3[256], *str;
More information about the grass-commit
mailing list