diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/misc.c b/apps/misc.c index 0a313395bf..4e1de7a019 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -890,12 +890,12 @@ void check_bootfile(bool do_rolo) | |||
890 | DIR* dir = NULL; | 890 | DIR* dir = NULL; |
891 | struct dirent* entry = NULL; | 891 | struct dirent* entry = NULL; |
892 | 892 | ||
893 | /* 1. open ROCKBOX_DIR and find the BOOTFILE dir entry */ | 893 | /* 1. open BOOTDIR and find the BOOTFILE dir entry */ |
894 | dir = opendir(ROCKBOX_DIR); | 894 | dir = opendir(BOOTDIR); |
895 | 895 | ||
896 | if(!dir) return; /* do we want an error splash? */ | 896 | if(!dir) return; /* do we want an error splash? */ |
897 | 897 | ||
898 | /* loop all files in ROCKBOX_DIR */ | 898 | /* loop all files in BOOTDIR */ |
899 | while(0 != (entry = readdir(dir))) | 899 | while(0 != (entry = readdir(dir))) |
900 | { | 900 | { |
901 | if(!strcasecmp(entry->d_name, BOOTFILE)) | 901 | if(!strcasecmp(entry->d_name, BOOTFILE)) |
@@ -911,7 +911,7 @@ void check_bootfile(bool do_rolo) | |||
911 | struct text_message message={ lines, 2 }; | 911 | struct text_message message={ lines, 2 }; |
912 | button_clear_queue(); /* Empty the keyboard buffer */ | 912 | button_clear_queue(); /* Empty the keyboard buffer */ |
913 | if(gui_syncyesno_run(&message, NULL, NULL) == YESNO_YES) | 913 | if(gui_syncyesno_run(&message, NULL, NULL) == YESNO_YES) |
914 | rolo_load(ROCKBOX_DIR "/" BOOTFILE); | 914 | rolo_load(BOOTDIR "/" BOOTFILE); |
915 | } | 915 | } |
916 | } | 916 | } |
917 | boot_size = entry->size; | 917 | boot_size = entry->size; |