summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2020-11-03 14:04:38 -0700
committerjkoan <jkoan@users.noreply.github.com>2020-11-04 05:53:33 +0100
commit3ab88d4794003dfce1f340b83e4ccf9f50ba4ef7 (patch)
tree1114fca1347c425e8dcb0c2b4e2c383f5b4c83b0
parent12478f599efa93ae70deeedf0049e261d5d766ec (diff)
downloadnavit-3ab88d4794003dfce1f340b83e4ccf9f50ba4ef7.tar.gz
Fix:plugin/j1850: Replace graphic_fg_white with graphic_fg.
Looks like this was missed in: 46f67d8937cfef6158eeee6e5ed039d29fc1b8f7 Fixes: j1850.c:319:46: error: ‘struct osd_item’ has no member named ‘graphic_fg_white’ Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
-rw-r--r--navit/plugin/j1850/j1850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/plugin/j1850/j1850.c b/navit/plugin/j1850/j1850.c
index 69a9b8fa5..bdef8a4fa 100644
--- a/navit/plugin/j1850/j1850.c
+++ b/navit/plugin/j1850/j1850.c
@@ -316,7 +316,7 @@ static void osd_j1850_init(struct j1850 *this, struct navit *nav) {
graphics_gc_set_linewidth(this->white, this->width);
- graphics_gc_set_linewidth(this->osd_item.graphic_fg_white, this->width);
+ graphics_gc_set_linewidth(this->osd_item.graphic_fg, this->width);
event_add_timeout(500, 1, callback_new_1(callback_cast(osd_j1850_draw), this));