From: martin-s Date: Sun, 17 Jan 2010 17:28:51 +0000 (+0000) Subject: Fix:Core:Revert wrong part of #2893 X-Git-Url: http://git.maemo.org/git/?p=navit-package;a=commitdiff_plain;h=baed555735a67c2b470e2885c23d7384e798839c 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 --- 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);