summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7bbbe92a9b..506fd5b59d 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -522,11 +522,6 @@ static bool settings_write_config(const char* filename, int options)
522 fd = open(filename,O_CREAT|O_TRUNC|O_WRONLY); 522 fd = open(filename,O_CREAT|O_TRUNC|O_WRONLY);
523 if (fd < 0) 523 if (fd < 0)
524 return false; 524 return false;
525#if CONFIG_TUNER
526 bool statusbar = global_settings.statusbar;
527 if (global_status.statusbar_forced != 0 && statusbar)
528 global_settings.statusbar = false;
529#endif
530 fdprintf(fd, "# .cfg file created by rockbox %s - " 525 fdprintf(fd, "# .cfg file created by rockbox %s - "
531 "http://www.rockbox.org\r\n\r\n", appsversion); 526 "http://www.rockbox.org\r\n\r\n", appsversion);
532 for(i=0; i<nb_settings; i++) 527 for(i=0; i<nb_settings; i++)
@@ -567,9 +562,6 @@ static bool settings_write_config(const char* filename, int options)
567 fdprintf(fd,"%s: %s\r\n",settings[i].cfg_name,value); 562 fdprintf(fd,"%s: %s\r\n",settings[i].cfg_name,value);
568 } /* for(...) */ 563 } /* for(...) */
569 close(fd); 564 close(fd);
570#if CONFIG_TUNER
571 global_settings.statusbar = statusbar;
572#endif
573 return true; 565 return true;
574} 566}
575#ifndef HAVE_RTC_RAM 567#ifndef HAVE_RTC_RAM