[GRASS-SVN] r64132 - grass/trunk/general/g.rename
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 13 06:55:02 PST 2015
Author: hcho
Date: 2015-01-13 06:55:01 -0800 (Tue, 13 Jan 2015)
New Revision: 64132
Modified:
grass/trunk/general/g.rename/main.c
Log:
g.rename: Rename child reclass maps properly
Modified: grass/trunk/general/g.rename/main.c
===================================================================
--- grass/trunk/general/g.rename/main.c 2015-01-13 14:47:00 UTC (rev 64131)
+++ grass/trunk/general/g.rename/main.c 2015-01-13 14:55:01 UTC (rev 64132)
@@ -94,7 +94,7 @@
}
if (!renamed && strcmp(parm[n]->key, "raster") == 0 &&
- Rast_is_reclassed_to(old, mapset, &nrmaps, &rmaps) > 0) {
+ Rast_is_reclassed_to(new, mapset, &nrmaps, &rmaps) > 0) {
int ptr, l;
char buf1[256], buf2[256], buf3[256], *str;
FILE *fp;
More information about the grass-commit
mailing list