[GRASS-SVN] r58501 - grass/trunk/raster/r.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 20 14:10:58 PST 2013
Author: neteler
Date: 2013-12-20 14:10:57 -0800 (Fri, 20 Dec 2013)
New Revision: 58501
Modified:
grass/trunk/raster/r.info/main.c
Log:
r.info: bugfix for title printing in -e output
Modified: grass/trunk/raster/r.info/main.c
===================================================================
--- grass/trunk/raster/r.info/main.c 2013-12-20 22:09:25 UTC (rev 58500)
+++ grass/trunk/raster/r.info/main.c 2013-12-20 22:10:57 UTC (rev 58501)
@@ -352,7 +352,7 @@
}
if (eflag->answer) {
- fprintf(out, "title=%s (%s)\n", cats_ok ? cats.title :
+ fprintf(out, "title=\"%s (%s)\"\n", cats_ok ? cats.title :
"??", hist_ok ? Rast_get_history(&hist, HIST_TITLE) : "??");
fprintf(out, "units=%s\n", units ? units : "\"none\"");
More information about the grass-commit
mailing list