summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-03-25 10:28:37 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-03-25 10:28:37 +0000
commit9ed5a67b698061d79554ad91b9a8b77a49092261 (patch)
treea3ee1c85cc9f8318fe6c85958de357791a6558d0 /apps/menus
parent27cf67733936abd75fcb1f8da765977cd75906ee (diff)
write the current settings to .rockbox/config.cfg.bak before resetting settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16792 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/main_menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 7c2e87c410..d756d98591 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -68,6 +68,7 @@ static int reset_settings(void)
switch(gui_syncyesno_run(&message, &yes_message, &no_message))
{
case YESNO_YES:
+ settings_write_config(CONFIGFILE ".bak", SETTINGS_SAVE_CHANGED);
settings_reset();
settings_apply(true);
settings_save();