summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 8d1bcf7ae5..1b16e9fe8e 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -63,7 +63,6 @@
63#include "settings_list.h" 63#include "settings_list.h"
64#include "filetypes.h" 64#include "filetypes.h"
65#include "option_select.h" 65#include "option_select.h"
66#include "backdrop.h"
67#if CONFIG_TUNER 66#if CONFIG_TUNER
68#include "radio.h" 67#include "radio.h"
69#endif 68#endif
@@ -796,9 +795,6 @@ void settings_apply(bool read_disk)
796#if CONFIG_CODEC == SWCODEC 795#if CONFIG_CODEC == SWCODEC
797 int i; 796 int i;
798#endif 797#endif
799#if LCD_DEPTH > 1
800 int screen;
801#endif
802 sound_settings_apply(); 798 sound_settings_apply();
803 799
804#ifdef HAVE_DISK_STORAGE 800#ifdef HAVE_DISK_STORAGE
@@ -907,23 +903,6 @@ void settings_apply(bool read_disk)
907 load_kbd(NULL); 903 load_kbd(NULL);
908#endif 904#endif
909 905
910
911#if LCD_DEPTH > 1
912 if ( global_settings.backdrop_file[0] &&
913 global_settings.backdrop_file[0] != 0xff ) {
914 snprintf(buf, sizeof buf, BACKDROP_DIR "/%s.bmp",
915 global_settings.backdrop_file);
916 backdrop_load(BACKDROP_MAIN, buf);
917 } else {
918 backdrop_unload(BACKDROP_MAIN);
919 }
920#endif
921
922#if LCD_DEPTH > 1
923 FOR_NB_SCREENS(screen)
924 screens[screen].backdrop_show(BACKDROP_MAIN);
925#endif
926
927 if ( global_settings.lang_file[0]) { 906 if ( global_settings.lang_file[0]) {
928 snprintf(buf, sizeof buf, LANG_DIR "/%s.lng", 907 snprintf(buf, sizeof buf, LANG_DIR "/%s.lng",
929 global_settings.lang_file); 908 global_settings.lang_file);