summaryrefslogtreecommitdiffstats
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
parentf503ebadabb05b1eca61cc705cf8dda27c3f68c2 (diff)
downloadrockbox-1e22dae7fa6131f58adaaa1c293e95c46766141f.tar.gz
rockbox-1e22dae7fa6131f58adaaa1c293e95c46766141f.tar.bz2
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
-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 @@
{.custom_setting = (struct custom_setting[]){ \
{load_from_cfg, write_to_cfg, is_change, set_default}}}}
-#define VIEWPORT_SETTING(var,name,default) \
- TEXT_SETTING(F_THEMESETTING,var,name,default, NULL, NULL)
+#define VIEWPORT_SETTING(var,name) \
+ TEXT_SETTING(F_THEMESETTING,var,name,"-", NULL, NULL)
/* some sets of values which are used more than once, to save memory */
static const char off_on[] = "off,on";
@@ -1545,9 +1545,9 @@ const struct settings_list settings[] = {
/* Customizable list */
#ifdef HAVE_LCD_BITMAP
- VIEWPORT_SETTING(ui_vp_config, "ui viewport", ""),
+ VIEWPORT_SETTING(ui_vp_config, "ui viewport"),
#ifdef HAVE_REMOTE_LCD
- VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport", ""),
+ VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
#endif
#endif
};