[GRASS-SVN] r43908 - grass/branches/develbranch_6/raster/r.univar2

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 14 07:05:40 EDT 2010


Author: mmetz
Date: 2010-10-14 04:05:39 -0700 (Thu, 14 Oct 2010)
New Revision: 43908

Modified:
   grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c
Log:
use G3d_readCats

Modified: grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c	2010-10-14 11:05:21 UTC (rev 43907)
+++ grass/branches/develbranch_6/raster/r.univar2/r3.univar_main.c	2010-10-14 11:05:39 UTC (rev 43908)
@@ -168,7 +168,7 @@
 	if (G3d_readRange(zonemap, mapset, &zone_range) == -1)
 	    G_fatal_error("Can not read range for zoning raster");
 	G3d_range_min_max(zmap, &dmin, &dmax);
-	if (G_read_raster_cats(zonemap, mapset, &(zone_info.cats)))
+	if (G3d_readCats(zonemap, mapset, &(zone_info.cats)))
 	    G_warning("no category support for zoning raster");
 
 	/* properly round dmin and dmax */



More information about the grass-commit mailing list