summaryrefslogtreecommitdiff
path: root/navit/osd
diff options
context:
space:
mode:
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-15 21:23:52 +0000
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-15 21:23:52 +0000
commitaaa193c8a2ec1b590a27a7848e264450b3b4e917 (patch)
tree7cfb183ec4b17b72d0800b5a776e29872f1401f2 /navit/osd
parentb5d88d03faf1b79c8a4cb6d26e6740636e3fdaa1 (diff)
downloadnavit-aaa193c8a2ec1b590a27a7848e264450b3b4e917.tar.gz
Fix:osd/core:Set the right colors for the osd "scale" item
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4784 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/osd')
-rw-r--r--navit/osd/core/osd_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/osd/core/osd_core.c b/navit/osd/core/osd_core.c
index b10bc629c..55ef37e64 100644
--- a/navit/osd/core/osd_core.c
+++ b/navit/osd/core/osd_core.c
@@ -3178,8 +3178,8 @@ osd_scale_init(struct osd_priv_common *opc, struct navit *nav)
{
struct osd_scale *this = (struct osd_scale *)opc->data;
- struct color color_white={0xffff,0xffff,0xffff,0x0000};
- struct color color_black={0x0000,0x0000,0x0000,0x0000};
+ struct color color_white={COLOR_WHITE_};
+ struct color color_black={COLOR_BLACK_};
struct graphics *gra = navit_get_graphics(nav);
dbg(1, "enter\n");
if (this->use_overlay) {