[GRASS-SVN] r30867 - grass/trunk/raster/r.in.mat
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 5 10:41:02 EDT 2008
Author: hamish
Date: 2008-04-05 10:41:02 -0400 (Sat, 05 Apr 2008)
New Revision: 30867
Modified:
grass/trunk/raster/r.in.mat/main.c
Log:
preemptive commenting
Modified: grass/trunk/raster/r.in.mat/main.c
===================================================================
--- grass/trunk/raster/r.in.mat/main.c 2008-04-05 14:35:18 UTC (rev 30866)
+++ grass/trunk/raster/r.in.mat/main.c 2008-04-05 14:41:02 UTC (rev 30867)
@@ -56,7 +56,7 @@
int realflag = 0; /* 0=only real values used */
/* should type be specifically uint32 ??? */
- char array_name[65];
+ char array_name[65]; /* 65 = 64 + null-terminator */
int name_len;
int mrows, ncols; /* text/data/map array dimensions*/
@@ -65,7 +65,7 @@
double *pval_d; /* for misc use */
char c, *buff; /* for misc use */
- char map_name[65], map_title[1024];
+ char map_name[65], map_title[1024]; /* 65 = 64 + null-terminator */
double map_name_d[1024]; /* I'm not sure why you'd save char strings as double, but whatever */
int have_name, have_data, have_title, have_n, have_s, have_e, have_w;
More information about the grass-commit
mailing list