[GRASS-SVN] r44091 - grass/branches/develbranch_6/general/g.region
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 30 05:50:00 EDT 2010
Author: martinl
Date: 2010-10-30 02:50:00 -0700 (Sat, 30 Oct 2010)
New Revision: 44091
Modified:
grass/branches/develbranch_6/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/develbranch_6/general/g.region/printwindow.c
===================================================================
--- grass/branches/develbranch_6/general/g.region/printwindow.c 2010-10-30 09:29:30 UTC (rev 44090)
+++ grass/branches/develbranch_6/general/g.region/printwindow.c 2010-10-30 09:50:00 UTC (rev 44091)
@@ -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