[GRASS-SVN] r43877 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 12 07:16:32 EDT 2010
Author: martinl
Date: 2010-10-12 04:16:32 -0700 (Tue, 12 Oct 2010)
New Revision: 43877
Modified:
grass/trunk/lib/raster/color_print.c
Log:
G_print_colors(): fix checking colr2
(merge r43876 from devbr6)
Modified: grass/trunk/lib/raster/color_print.c
===================================================================
--- grass/trunk/lib/raster/color_print.c 2010-10-12 11:08:26 UTC (rev 43876)
+++ grass/trunk/lib/raster/color_print.c 2010-10-12 11:16:32 UTC (rev 43877)
@@ -42,7 +42,8 @@
/* first look for secondary color table in current mapset */
sprintf(element, "colr2/%s", mapset);
- if (print_color_table(element, name, mapset, file) < 0)
+ if (print_color_table(element, name, G_mapset(), file) < 0)
+ /* now look for the regular color table */
if (print_color_table("colr", name, mapset, file) < 0)
return -2;
More information about the grass-commit
mailing list