[GRASS-SVN] r64137 - grass/trunk/general/g.rename

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 13 09:15:07 PST 2015


Author: hcho
Date: 2015-01-13 09:15:07 -0800 (Tue, 13 Jan 2015)
New Revision: 64137

Modified:
   grass/trunk/general/g.rename/main.c
Log:
g.rename: rename_child_reclass_maps => update_reclass_maps

Modified: grass/trunk/general/g.rename/main.c
===================================================================
--- grass/trunk/general/g.rename/main.c	2015-01-13 16:54:09 UTC (rev 64136)
+++ grass/trunk/general/g.rename/main.c	2015-01-13 17:15:07 UTC (rev 64137)
@@ -25,7 +25,7 @@
 #include <grass/glocale.h>
 #include <grass/manage.h>
 
-void rename_child_reclass_maps(const char *, const char *);
+void update_reclass_maps(const char *, const char *);
 void update_basemap(const char *, const char *, const char *);
 
 int main(int argc, char *argv[])
@@ -97,7 +97,7 @@
 	    }
 
 	    if (!renamed && strcmp(parm[n]->key, "raster") == 0) {
-		rename_child_reclass_maps(new, mapset);
+		update_reclass_maps(new, mapset);
 		update_basemap(old, new, mapset);
 	    }
 	}
@@ -105,7 +105,7 @@
     exit(result);
 }
 
-void rename_child_reclass_maps(const char *name, const char *mapset)
+void update_reclass_maps(const char *name, const char *mapset)
 {
     int nrmaps;
     char **rmaps;
@@ -113,7 +113,7 @@
     if (Rast_is_reclassed_to(name, mapset, &nrmaps, &rmaps) <= 0)
 	return;
 
-    G_message(_("Renaming reclass maps"));
+    G_message(_("Updating reclass maps"));
 
     for (; *rmaps; rmaps++) {
 	char buf1[256], buf2[256], buf3[256], *str;



More information about the grass-commit mailing list