diff options
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index 5e8a51200a..fccc88479b 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -49,7 +49,7 @@ struct menu { | |||
49 | int (*callback)(int, int); | 49 | int (*callback)(int, int); |
50 | #ifdef HAVE_LCD_BITMAP | 50 | #ifdef HAVE_LCD_BITMAP |
51 | bool use_buttonbar; /* true if a buttonbar is defined */ | 51 | bool use_buttonbar; /* true if a buttonbar is defined */ |
52 | char *buttonbar[3]; | 52 | const char *buttonbar[3]; |
53 | #endif | 53 | #endif |
54 | }; | 54 | }; |
55 | 55 | ||
@@ -225,7 +225,7 @@ static void put_cursor(int m, int target) | |||
225 | } | 225 | } |
226 | 226 | ||
227 | int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, int), | 227 | int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, int), |
228 | char *button1, char *button2, char *button3) | 228 | const char *button1, const char *button2, const char *button3) |
229 | { | 229 | { |
230 | int i; | 230 | int i; |
231 | 231 | ||