[GRASS-SVN] r30009 - grass/trunk/general/g.mapset

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 7 18:21:19 EST 2008


Author: hamish
Date: 2008-02-07 18:21:19 -0500 (Thu, 07 Feb 2008)
New Revision: 30009

Modified:
   grass/trunk/general/g.mapset/main.c
Log:
use DEFAULT_BG_COLOR

Modified: grass/trunk/general/g.mapset/main.c
===================================================================
--- grass/trunk/general/g.mapset/main.c	2008-02-07 21:15:56 UTC (rev 30008)
+++ grass/trunk/general/g.mapset/main.c	2008-02-07 23:21:19 UTC (rev 30009)
@@ -150,7 +150,7 @@
 	G__setenv("MONITOR",cap->name);
 	R__open_quiet();
 	if ( R_open_driver() == 0 ) {
-            D_erase("white");
+            D_erase(DEFAULT_BG_COLOR);
 	    D_add_to_list("d.erase");
 	    R_close_driver();
 	    R_release_driver();



More information about the grass-commit mailing list