From baed555735a67c2b470e2885c23d7384e798839c Mon Sep 17 00:00:00 2001 From: martin-s Date: Sun, 17 Jan 2010 17:28:51 +0000 Subject: [PATCH] Fix:Core:Revert wrong part of #2893 git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2916 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/navit/graphics.c b/navit/graphics.c index a2f3736..901f64e 100644 --- a/navit/graphics.c +++ b/navit/graphics.c @@ -1554,6 +1554,7 @@ displayitem_draw(struct displayitem *di, void *dummy, struct display_context *dc if (! gc) { gc=graphics_gc_new(gra); graphics_gc_set_foreground(gc, &e->color); + dc->gc=gc; } if (item_type_is_area(dc->type) && (dc->e->type == element_polyline || dc->e->type == element_text)) count=limit_count(di->c, count); -- 1.7.9.5