[GRASS-SVN] r56575 - grass/branches/develbranch_6/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 3 11:35:17 PDT 2013
Author: annakrat
Date: 2013-06-03 11:35:16 -0700 (Mon, 03 Jun 2013)
New Revision: 56575
Modified:
grass/branches/develbranch_6/lib/ogsf/Gs3.c
Log:
ogsf: fix initialization of variables (merge from trunk, r56560)
Modified: grass/branches/develbranch_6/lib/ogsf/Gs3.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/Gs3.c 2013-06-03 18:34:56 UTC (rev 56574)
+++ grass/branches/develbranch_6/lib/ogsf/Gs3.c 2013-06-03 18:35:16 UTC (rev 56575)
@@ -1150,6 +1150,7 @@
if (CONST_ATT == gs_get_att_src(gs, desc)) {
gs->att[desc].max_nz = gs->att[desc].min_nz = gs->att[desc].constant;
+ min = max = gs->att[desc].constant;
gs->att[desc].range_nz = 0.0;
}
else if (CF_COLOR_PACKED & gsds_get_changed(gs->att[desc].hdata)) {
More information about the grass-commit
mailing list