summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 2069bfced4..2a5e31824f 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -740,7 +740,6 @@ void settings_apply_skins(void)
740 char buf[MAX_PATH]; 740 char buf[MAX_PATH];
741 /* re-initialize the skin buffer before we start reloading skins */ 741 /* re-initialize the skin buffer before we start reloading skins */
742 skin_buffer_init(); 742 skin_buffer_init();
743 sb_skin_data_init(SCREEN_MAIN);
744 if ( global_settings.wps_file[0] && 743 if ( global_settings.wps_file[0] &&
745 global_settings.wps_file[0] != 0xff ) 744 global_settings.wps_file[0] != 0xff )
746 { 745 {
@@ -752,17 +751,6 @@ void settings_apply_skins(void)
752 { 751 {
753 wps_data_load(SCREEN_MAIN, NULL, true); 752 wps_data_load(SCREEN_MAIN, NULL, true);
754 } 753 }
755 if ( global_settings.sb_file[0] &&
756 global_settings.sb_file[0] != 0xff ) {
757 snprintf(buf, sizeof buf, WPS_DIR "/%s.sb",
758 global_settings.sb_file);
759 sb_skin_data_load(SCREEN_MAIN, buf, true);
760 }
761 else
762 {
763 sb_skin_data_init(SCREEN_MAIN);
764 sb_skin_data_load(SCREEN_MAIN, NULL, true);
765 }
766#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) 754#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1)
767 if ( global_settings.rwps_file[0]) 755 if ( global_settings.rwps_file[0])
768 { 756 {