[GRASS-SVN] r47672 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 16 07:48:40 EDT 2011
Author: martinl
Date: 2011-08-16 04:48:40 -0700 (Tue, 16 Aug 2011)
New Revision: 47672
Modified:
grass/branches/develbranch_6/lib/gis/color_look.c
Log:
gislib: fix bug in Rast__lookup_colors()
Modified: grass/branches/develbranch_6/lib/gis/color_look.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/color_look.c 2011-08-16 11:44:49 UTC (rev 47671)
+++ grass/branches/develbranch_6/lib/gis/color_look.c 2011-08-16 11:48:40 UTC (rev 47672)
@@ -258,7 +258,7 @@
dmin = cp->min;
dmax = cp->max;
min = (CELL) dmin;
- max = (CELL) dmax + 1;
+ max = (CELL) dmax;
cell_type = (data_type == CELL_TYPE);
More information about the grass-commit
mailing list