[GRASS-SVN] r44092 - grass/branches/releasebranch_6_4/general/g.region

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 30 05:52:55 EDT 2010


Author: martinl
Date: 2010-10-30 02:52:55 -0700 (Sat, 30 Oct 2010)
New Revision: 44092

Modified:
   grass/branches/releasebranch_6_4/general/g.region/printwindow.c
Log:
g.region: 3dcells -> cells3 - bash variable can begins only with a letter or underscore
(merge r44089 from trunk)


Modified: grass/branches/releasebranch_6_4/general/g.region/printwindow.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.region/printwindow.c	2010-10-30 09:50:00 UTC (rev 44091)
+++ grass/branches/releasebranch_6_4/general/g.region/printwindow.c	2010-10-30 09:52:55 UTC (rev 44092)
@@ -173,13 +173,13 @@
 	    fprintf(stdout, "cells=%lld\n",
 		    (long long)window->rows * window->cols);
 	    if (print_flag & PRINT_3D)
-		fprintf(stdout, "3dcells=%lld\n",
+		fprintf(stdout, "cells3=%lld\n",
 			(long long)window->rows3 * window->cols3 *
 			window->depths);
 #else
 	    fprintf(stdout, "cells=%ld\n", (long)window->rows * window->cols);
 	    if (print_flag & PRINT_3D)
-		fprintf(stdout, "3dcells=%ld\n",
+		fprintf(stdout, "cells3=%ld\n",
 			(long)window->rows3 * window->cols3 * window->depths);
 #endif
 	}
@@ -217,14 +217,14 @@
 	    fprintf(stdout, "%-*s %lld\n", width, "cells:",
 		    (long long)window->rows * window->cols);
 	    if (print_flag & PRINT_3D)
-		fprintf(stdout, "%-*s %lld\n", width, "3dcells:",
+		fprintf(stdout, "%-*s %lld\n", width, "cells3:",
 			(long long)window->rows3 * window->cols3 *
 			window->depths);
 #else
 	    fprintf(stdout, "%-*s %ld\n", width, "cells:",
 		    (long)window->rows * window->cols);
 	    if (print_flag & PRINT_3D)
-		fprintf(stdout, "%-*s %ld\n", width, "3dcells:",
+		fprintf(stdout, "%-*s %ld\n", width, "cells3:",
 			(long)window->rows3 * window->cols3 * window->depths);
 #endif
 	}



More information about the grass-commit mailing list