projects
/
navit-package
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix:Core:Revert wrong part of #2893
[navit-package]
/
navit
/
graphics.c
diff --git
a/navit/graphics.c
b/navit/graphics.c
index
a2f3736
..
901f64e
100644
(file)
--- 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);