[GRASS-SVN] r52843 - grass/trunk/raster/r.report

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 22 13:45:05 PDT 2012


Author: mmetz
Date: 2012-08-22 13:45:05 -0700 (Wed, 22 Aug 2012)
New Revision: 52843

Modified:
   grass/trunk/raster/r.report/header.c
Log:
r.report: fix for #970

Modified: grass/trunk/raster/r.report/header.c
===================================================================
--- grass/trunk/raster/r.report/header.c	2012-08-22 20:38:23 UTC (rev 52842)
+++ grass/trunk/raster/r.report/header.c	2012-08-22 20:45:05 UTC (rev 52843)
@@ -71,8 +71,6 @@
 
 	divider("|");
 
-	label = nlayers > 1 ? "MAPS:" : "MAP:";
-
 	mask = maskinfo();
 	label = "MASK:";
 	len1 = strlen(label) + 1;
@@ -90,6 +88,7 @@
 	 */
 
 	label = nlayers > 1 ? "MAPS:" : "MAP:";
+	len1 = strlen(label) + 1;
 	for (i = 0; i < nlayers; i++) {
 	    char *title;
 



More information about the grass-commit mailing list