[GRASS-SVN] r66984 - grass/trunk/raster3d/r3.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 30 00:22:14 PST 2015
Author: jachym
Date: 2015-11-30 00:22:14 -0800 (Mon, 30 Nov 2015)
New Revision: 66984
Modified:
grass/trunk/raster3d/r3.info/main.c
Log:
Comments in shell script written according to r.info
Modified: grass/trunk/raster3d/r3.info/main.c
===================================================================
--- grass/trunk/raster3d/r3.info/main.c 2015-11-29 20:49:41 UTC (rev 66983)
+++ grass/trunk/raster3d/r3.info/main.c 2015-11-30 08:22:14 UTC (rev 66984)
@@ -482,9 +482,10 @@
fprintf(out, "description=");
fprintf(out, "\"%s\"\n", Rast_get_history(&hist, HIST_KEYWRD));
if (Rast_history_length(&hist)) {
+ fprintf(out, "comments=\"", i);
for (i = 0; i < Rast_history_length(&hist); i++)
- fprintf(out, "comments_%d=", i);
- fprintf(out, "\"%s\"\n", Rast_history_line(&hist, i));
+ fprintf(out, "%s", Rast_history_line(&hist, i));
+ fprintf(out, "\"\n");
}
}
else {
More information about the grass-commit
mailing list