summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 275eb6ad2d..d1d9adb3b2 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -645,8 +645,8 @@ static int dirbrowse()
645 tc.dirlevel = 0; /* shouldnt be needed.. this code needs work! */ 645 tc.dirlevel = 0; /* shouldnt be needed.. this code needs work! */
646#ifdef BOOTFILE 646#ifdef BOOTFILE
647 if (boot_changed) { 647 if (boot_changed) {
648 char *lines[]={ID2P(LANG_BOOT_CHANGED), ID2P(LANG_REBOOT_NOW)}; 648 static const char *lines[]={ID2P(LANG_BOOT_CHANGED), ID2P(LANG_REBOOT_NOW)};
649 struct text_message message={lines, 2}; 649 static const struct text_message message={lines, 2};
650 if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) 650 if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES)
651 rolo_load("/" BOOTFILE); 651 rolo_load("/" BOOTFILE);
652 restore = true; 652 restore = true;