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 5e8a512..fccc884 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -49,7 +49,7 @@ struct menu { int (*callback)(int, int); #ifdef HAVE_LCD_BITMAP bool use_buttonbar; /* true if a buttonbar is defined */ - char *buttonbar[3]; + const char *buttonbar[3]; #endif }; @@ -225,7 +225,7 @@ static void put_cursor(int m, int target) } int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, int), - char *button1, char *button2, char *button3) + const char *button1, const char *button2, const char *button3) { int i; |