forked from len0rd/rockbox
The settings for battery and volume display were reversed in the expanded .cfg
loader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3277 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2eff1c6821
commit
0f7ff15d86
2 changed files with 3 additions and 3 deletions
|
@ -904,11 +904,11 @@ bool settings_load_config(char* file)
|
|||
else if (!strcasecmp(name, "play selected"))
|
||||
set_cfg_bool(&global_settings.play_selected, value);
|
||||
else if (!strcasecmp(name, "volume display")) {
|
||||
static char* options[] = {"numeric", "graphic"};
|
||||
static char* options[] = {"graphic", "numeric"};
|
||||
set_cfg_option(&global_settings.volume_type, value, options, 2);
|
||||
}
|
||||
else if (!strcasecmp(name, "battery display")) {
|
||||
static char* options[] = {"numeric", "graphic"};
|
||||
static char* options[] = {"graphic", "numeric"};
|
||||
set_cfg_option(&global_settings.battery_type, value, options, 2);
|
||||
}
|
||||
else if (!strcasecmp(name, "time format")) {
|
||||
|
|
|
@ -112,7 +112,7 @@ struct user_settings
|
|||
int dirfilter; /* 0=display all, 1=only supported, 2=only music */
|
||||
bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */
|
||||
int volume_type; /* how volume is displayed: 0=graphic, 1=percent */
|
||||
int battery_type;
|
||||
int battery_type; /* how battery is displayed: 0=graphic, 1=percent */
|
||||
int timeformat; /* time format: 0=24 hour clock, 1=12 hour clock */
|
||||
int scroll_speed; /* long texts scrolling speed: 1-30 */
|
||||
bool playlist_shuffle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue