return -1;
}
-void config_read_keys(const char *cfg)
+void config_read_keys(const char *cfg_content)
{
char dev[256], key[128], *act;
const char *p;
int bind, bindtype;
int dev_id;
- p = cfg;
+ p = cfg_content;
while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) {
p += 10;
#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
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
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