git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68691 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -539,6 +539,8 @@ int main(int argc, char *argv[])
val1 = -1;
val2 = 1;
Rast_add_c_color_rule(&val1, 0, 0, 0, &val2, 255, 255, 255, &colors);
+ Rast_write_colors(result, G_mapset(), &colors);
+
Rast_short_history(result, "raster", &history);
Rast_command_history(&history);
Rast_write_history(result, &history);