forked from len0rd/rockbox
Change the default value for the ui viewport to "-" (which will give a fullscreen vp since parsing fails).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22370 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f503ebadab
commit
1e22dae7fa
1 changed files with 4 additions and 4 deletions
|
|
@ -181,8 +181,8 @@
|
||||||
{.custom_setting = (struct custom_setting[]){ \
|
{.custom_setting = (struct custom_setting[]){ \
|
||||||
{load_from_cfg, write_to_cfg, is_change, set_default}}}}
|
{load_from_cfg, write_to_cfg, is_change, set_default}}}}
|
||||||
|
|
||||||
#define VIEWPORT_SETTING(var,name,default) \
|
#define VIEWPORT_SETTING(var,name) \
|
||||||
TEXT_SETTING(F_THEMESETTING,var,name,default, NULL, NULL)
|
TEXT_SETTING(F_THEMESETTING,var,name,"-", NULL, NULL)
|
||||||
|
|
||||||
/* some sets of values which are used more than once, to save memory */
|
/* some sets of values which are used more than once, to save memory */
|
||||||
static const char off_on[] = "off,on";
|
static const char off_on[] = "off,on";
|
||||||
|
|
@ -1545,9 +1545,9 @@ const struct settings_list settings[] = {
|
||||||
|
|
||||||
/* Customizable list */
|
/* Customizable list */
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
VIEWPORT_SETTING(ui_vp_config, "ui viewport", ""),
|
VIEWPORT_SETTING(ui_vp_config, "ui viewport"),
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#ifdef HAVE_REMOTE_LCD
|
||||||
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport", ""),
|
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue