[GRASS-SVN] r31481 - grass/trunk/display/d.rast.num
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 22 07:22:33 EDT 2008
Author: neteler
Date: 2008-05-22 07:22:33 -0400 (Thu, 22 May 2008)
New Revision: 31481
Modified:
grass/trunk/display/d.rast.num/description.html
grass/trunk/display/d.rast.num/number.c
Log:
cosmetics for NULL indication (to fix bad font size)
Modified: grass/trunk/display/d.rast.num/description.html
===================================================================
--- grass/trunk/display/d.rast.num/description.html 2008-05-22 10:50:54 UTC (rev 31480)
+++ grass/trunk/display/d.rast.num/description.html 2008-05-22 11:22:33 UTC (rev 31481)
@@ -23,6 +23,7 @@
small area (i.e., less than 100 rows by 100 columns);
otherwise, the individual cells being displayed will be small
and the category value associated with each will be difficult to see.
+No data cells are indicated with "Null".
<H2>SEE ALSO</H2>
Modified: grass/trunk/display/d.rast.num/number.c
===================================================================
--- grass/trunk/display/d.rast.num/number.c 2008-05-22 10:50:54 UTC (rev 31480)
+++ grass/trunk/display/d.rast.num/number.c 2008-05-22 11:22:33 UTC (rev 31481)
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
****************************************************************************
*
* MODULE: d.rast.num
@@ -334,12 +332,12 @@
if(!G_is_c_null_value(&cell))
sprintf(no,"%d",(int)number);
else
- sprintf(no,"N");
+ sprintf(no,"Null");
}else{
if(!G_is_d_null_value(&dcell))
sprintf(no,"%.*f", prec, number);
else
- sprintf(no,"N");
+ sprintf(no,"Null");
}
len = strlen(no);
More information about the grass-commit
mailing list