1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2008-03-25 10:28:37 +00:00
parent 27cf677339
commit 9ed5a67b69
3 changed files with 4 additions and 1 deletions

View file

@ -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();