minor adjustments
[libpicofe.git] / menu.c
diff --git a/menu.c b/menu.c
index b2ab30e..640f9b7 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -38,7 +38,7 @@ int g_menuscreen_h;
 #endif\r
 \r
 static unsigned char *menu_font_data = NULL;\r
-static int menu_text_color = 0xffff; // default to white\r
+static int menu_text_color = 0xfffe; // default to white\r
 static int menu_sel_color = -1; // disabled\r
 \r
 /* note: these might become non-constant in future */\r
@@ -388,7 +388,7 @@ static void menu_darken_text_bg(void)
                for (x = xmin + 1; x < xmax; x++)\r
                {\r
                        unsigned int p = screen[ls + x];\r
-                       if (p != 0xffff)\r
+                       if (p != menu_text_color)\r
                                screen[ls + x] = ((p&0xf79e)>>1) - ((p&0xc618)>>3);\r
                }\r
                screen[ls + xmax] = 0xffff;\r
@@ -632,6 +632,8 @@ static void me_draw(const menu_entry *entries, int sel, void (*draw_more)(void))
                y += me_mfont_h;\r
        }\r
 \r
+       menu_separation();\r
+\r
        /* display help or message if we have one */\r
        h = (g_menuscreen_h - h) / 2; // bottom area height\r
        if (menu_error_msg[0] != 0) {\r