From 3a5a4347f694b5b05953784f38e5a6f896ec0dba Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 30 Oct 2008 20:25:22 +0000 Subject: [PATCH] change default bgcolor back to white even on devices that can handle truecolor --- lib/common/emit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index 063227dc8..8b746cf5a 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -821,11 +821,11 @@ static void emit_background(GVJ_t * job, graph_t *g) { char *str; - /* if no bgcolor specified - first assume default of "transparent" */ + /* if no bgcolor specified - first assume default of "white" */ if (! ((str = agget(g, "bgcolor")) && str[0])) - str = "transparent"; + str = "white"; - /* if device has no truecolor support, change "transparent" (default or given) to "white" */ + /* if device has no truecolor support, change "transparent" to "white" */ if (! (job->flags & GVDEVICE_DOES_TRUECOLOR) && (streq(str, "transparent"))) str = "white"; -- 2.40.0