Fix:osd/core:Set the right colors for the osd "scale" item
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 15 Sep 2011 21:23:52 +0000 (21:23 +0000)
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 15 Sep 2011 21:23:52 +0000 (21:23 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4784 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/osd/core/osd_core.c

index b10bc62..55ef37e 100644 (file)
@@ -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) {