[GRASS-SVN] r43907 - grass/trunk/raster/r.univar

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


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

Modified:
   grass/trunk/raster/r.univar/r3.univar_main.c
Log:
use G3d_readCats

Modified: grass/trunk/raster/r.univar/r3.univar_main.c
===================================================================
--- grass/trunk/raster/r.univar/r3.univar_main.c	2010-10-14 09:51:09 UTC (rev 43906)
+++ grass/trunk/raster/r.univar/r3.univar_main.c	2010-10-14 11:05:21 UTC (rev 43907)
@@ -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 (Rast_read_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