summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-01-17 17:28:51 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-01-17 17:28:51 +0000
commitb59d021fb673b255d16061c958d98c89ee980521 (patch)
tree563b2d6c90244e45acbd5060baaa25257a9e7a35 /navit/graphics.c
parent17132d093ab5607811fa9b5908caa9e90d518343 (diff)
downloadnavit-b59d021fb673b255d16061c958d98c89ee980521.tar.gz
Fix:Core:Revert wrong part of #2893
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2916 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index a2f3736b5..901f64e14 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);