diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/misc.c b/apps/misc.c index f6e5e6b880..ef4f968119 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -1050,9 +1050,9 @@ void check_bootfile(bool do_rolo) | |||
1050 | if((entry->wrtdate != wrtdate) || | 1050 | if((entry->wrtdate != wrtdate) || |
1051 | (entry->wrttime != wrttime)) | 1051 | (entry->wrttime != wrttime)) |
1052 | { | 1052 | { |
1053 | char *lines[] = { ID2P(LANG_BOOT_CHANGED), | 1053 | static const char *lines[] = { ID2P(LANG_BOOT_CHANGED), |
1054 | ID2P(LANG_REBOOT_NOW) }; | 1054 | ID2P(LANG_REBOOT_NOW) }; |
1055 | struct text_message message={ lines, 2 }; | 1055 | static const struct text_message message={ lines, 2 }; |
1056 | button_clear_queue(); /* Empty the keyboard buffer */ | 1056 | button_clear_queue(); /* Empty the keyboard buffer */ |
1057 | if(gui_syncyesno_run(&message, NULL, NULL) == YESNO_YES) | 1057 | if(gui_syncyesno_run(&message, NULL, NULL) == YESNO_YES) |
1058 | rolo_load(BOOTDIR "/" BOOTFILE); | 1058 | rolo_load(BOOTDIR "/" BOOTFILE); |