summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-17 00:28:47 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-17 00:28:47 +0000
commit1e22dae7fa6131f58adaaa1c293e95c46766141f (patch)
tree951204675e29434ee1fc317d41064909d1301fef /apps/settings_list.c
parentf503ebadabb05b1eca61cc705cf8dda27c3f68c2 (diff)
downloadrockbox-1e22dae7fa6131f58adaaa1c293e95c46766141f.tar.gz
rockbox-1e22dae7fa6131f58adaaa1c293e95c46766141f.zip
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
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index f4ff3cf280..1254f46e6c 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -181,8 +181,8 @@
181 {.custom_setting = (struct custom_setting[]){ \ 181 {.custom_setting = (struct custom_setting[]){ \
182 {load_from_cfg, write_to_cfg, is_change, set_default}}}} 182 {load_from_cfg, write_to_cfg, is_change, set_default}}}}
183 183
184#define VIEWPORT_SETTING(var,name,default) \ 184#define VIEWPORT_SETTING(var,name) \
185 TEXT_SETTING(F_THEMESETTING,var,name,default, NULL, NULL) 185 TEXT_SETTING(F_THEMESETTING,var,name,"-", NULL, NULL)
186 186
187/* some sets of values which are used more than once, to save memory */ 187/* some sets of values which are used more than once, to save memory */
188static const char off_on[] = "off,on"; 188static const char off_on[] = "off,on";
@@ -1545,9 +1545,9 @@ const struct settings_list settings[] = {
1545 1545
1546 /* Customizable list */ 1546 /* Customizable list */
1547#ifdef HAVE_LCD_BITMAP 1547#ifdef HAVE_LCD_BITMAP
1548 VIEWPORT_SETTING(ui_vp_config, "ui viewport", ""), 1548 VIEWPORT_SETTING(ui_vp_config, "ui viewport"),
1549#ifdef HAVE_REMOTE_LCD 1549#ifdef HAVE_REMOTE_LCD
1550 VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport", ""), 1550 VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
1551#endif 1551#endif
1552#endif 1552#endif
1553}; 1553};