[GRASS-SVN] r51863 - grass-addons/grass7/raster/r.gdd
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 29 02:52:32 PDT 2012
Author: mmetz
Date: 2012-05-29 02:52:31 -0700 (Tue, 29 May 2012)
New Revision: 51863
Modified:
grass-addons/grass7/raster/r.gdd/main.c
Log:
r.gdd bugfix
Modified: grass-addons/grass7/raster/r.gdd/main.c
===================================================================
--- grass-addons/grass7/raster/r.gdd/main.c 2012-05-29 09:28:22 UTC (rev 51862)
+++ grass-addons/grass7/raster/r.gdd/main.c 2012-05-29 09:52:31 UTC (rev 51863)
@@ -356,7 +356,7 @@
/* set gdd color table */
Rast_init_colors(&colors);
Rast_make_colors(&colors, "gdd", 0, 6000);
- Rast_write_colors(out->name, NULL, &colors);
+ Rast_write_colors(out->name, G_mapset(), &colors);
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list