[GRASS-SVN] r32780 - grass/branches/develbranch_6/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 15 09:08:55 EDT 2008
Author: martinl
Date: 2008-08-15 09:08:55 -0400 (Fri, 15 Aug 2008)
New Revision: 32780
Modified:
grass/branches/develbranch_6/ps/ps.map/main.c
grass/branches/develbranch_6/ps/ps.map/r_colortable.c
Log:
glynn: Use G{NAME,MAPSET}_MAX
(merge from trunk, r32775)
Modified: grass/branches/develbranch_6/ps/ps.map/main.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/main.c 2008-08-15 13:06:14 UTC (rev 32779)
+++ grass/branches/develbranch_6/ps/ps.map/main.c 2008-08-15 13:08:55 UTC (rev 32780)
@@ -73,7 +73,7 @@
int main(int argc, char *argv[])
{
char buf[1024];
- char name[100], mapset[50];
+ char name[GNAME_MAX], mapset[GMAPSET_MAX];
int i;
int iflag;
int can_reset_scale;
Modified: grass/branches/develbranch_6/ps/ps.map/r_colortable.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/r_colortable.c 2008-08-15 13:06:14 UTC (rev 32779)
+++ grass/branches/develbranch_6/ps/ps.map/r_colortable.c 2008-08-15 13:08:55 UTC (rev 32780)
@@ -29,7 +29,7 @@
{
char buf[1024];
char *key, *data;
- char name[100], mapset[50];
+ char name[GNAME_MAX], mapset[GMAPSET_MAX];
int color, fontsize, cols, nodata, tickbar;
double w, h, x, y;
int range_override;
More information about the grass-commit
mailing list