summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/navit/layout.c b/navit/layout.c
index c78e7c79d..328c0609e 100644
--- a/navit/layout.c
+++ b/navit/layout.c
@@ -529,7 +529,6 @@ circle_new(struct attr *parent, struct attr **attrs)
e = g_new0(struct element, 1);
e->type=element_circle;
e->color = color_black;
- e->u.circle.background_color = color_white;
element_set_color(e, attrs);
element_set_background_color(&e->u.circle.background_color, attrs);
element_set_text_size(e, attrs);
@@ -550,7 +549,6 @@ text_new(struct attr *parent, struct attr **attrs)
e->type=element_text;
element_set_text_size(e, attrs);
e->color = color_black;
- e->u.text.background_color = color_white;
element_set_color(e, attrs);
element_set_background_color(&e->u.text.background_color, attrs);