diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-17 17:28:51 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-17 17:28:51 +0000 |
commit | b59d021fb673b255d16061c958d98c89ee980521 (patch) | |
tree | 563b2d6c90244e45acbd5060baaa25257a9e7a35 /navit/graphics.c | |
parent | 17132d093ab5607811fa9b5908caa9e90d518343 (diff) | |
download | navit-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.c | 1 |
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); |