[GRASS-SVN] r60987 - grass/branches/releasebranch_7_0/raster/r.tile

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 26 12:04:05 PDT 2014


Author: neteler
Date: 2014-06-26 12:04:05 -0700 (Thu, 26 Jun 2014)
New Revision: 60987

Modified:
   grass/branches/releasebranch_7_0/raster/r.tile/main.c
Log:
r.tile: fix title output

Modified: grass/branches/releasebranch_7_0/raster/r.tile/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.tile/main.c	2014-06-26 17:27:14 UTC (rev 60986)
+++ grass/branches/releasebranch_7_0/raster/r.tile/main.c	2014-06-26 19:04:05 UTC (rev 60987)
@@ -179,8 +179,9 @@
     Rast_write_cats(name, &cats);
 
     /* record map metadata/history info */
+    G_debug(1, "Tile %d,%d of %s: writing %s", xtile, ytile, parm.rastin->answer, name);
     sprintf(title, "Tile %d,%d of %s", xtile, ytile, parm.rastin->answer);
-    Rast_put_cell_title(parm.rastout->answer, title);
+    Rast_put_cell_title(name, title);
 
     Rast_short_history(name, "raster", &history);
     Rast_set_history(&history, HIST_DATSRC_1, parm.rastin->answer);



More information about the grass-commit mailing list