So, I've been sick these last few days, and I'm trying to not take drugs to get over the sickness... turns out that may not have been such a good descision. (AKA, I'm trying to get on the front page... (AKA, really revert this time... really) )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16795 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0158336ead
commit
22fbafb6ba
3 changed files with 1 additions and 4 deletions
|
@ -68,7 +68,6 @@ 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();
|
||||
|
|
|
@ -450,7 +450,7 @@ static bool is_changed(int setting_id)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool settings_write_config(char* filename, int options)
|
||||
static bool settings_write_config(char* filename, int options)
|
||||
{
|
||||
int i;
|
||||
int fd;
|
||||
|
|
|
@ -200,7 +200,6 @@ bool settings_load_config(const char* file, bool apply);
|
|||
|
||||
void status_save( void );
|
||||
int settings_save(void);
|
||||
|
||||
/* defines for the options paramater */
|
||||
enum {
|
||||
SETTINGS_SAVE_CHANGED = 0,
|
||||
|
@ -215,7 +214,6 @@ enum {
|
|||
#endif
|
||||
};
|
||||
bool settings_save_config(int options);
|
||||
bool settings_write_config(char* filename, int options);
|
||||
|
||||
void settings_reset(void);
|
||||
void sound_settings_apply(void);
|
||||
|
|
Loading…
Reference in a new issue