[GRASS-SVN] r44089 - grass/trunk/general/g.region

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 30 05:25:44 EDT 2010


Author: martinl
Date: 2010-10-30 02:25:44 -0700 (Sat, 30 Oct 2010)
New Revision: 44089

Modified:
   grass/trunk/general/g.region/printwindow.c
Log:
g.region: 3dcells -> cells3 - bash variable can begins only with a letter or underscore


Modified: grass/trunk/general/g.region/printwindow.c
===================================================================
--- grass/trunk/general/g.region/printwindow.c	2010-10-30 09:18:58 UTC (rev 44088)
+++ grass/trunk/general/g.region/printwindow.c	2010-10-30 09:25:44 UTC (rev 44089)
@@ -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