summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-28 20:41:34 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-28 20:41:34 +0000
commitff197a4706ffaf836e84ef761b82c22513b95a0c (patch)
tree51f2f8a066edcf042dc7d9f716234b520ec1008a /apps/settings_list.c
parente5086076a0071f4e02d87305355a968670594ec9 (diff)
downloadrockbox-ff197a4706ffaf836e84ef761b82c22513b95a0c.tar.gz
rockbox-ff197a4706ffaf836e84ef761b82c22513b95a0c.tar.bz2
rockbox-ff197a4706ffaf836e84ef761b82c22513b95a0c.zip
Use array for quickscreen item settings to simplify some logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23380 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 5a0e05d7d2..d9ca889458 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1582,19 +1582,19 @@ const struct settings_list settings[] = {
ID2P(LANG_NORMAL), ID2P(LANG_HIGH)),
#endif
#ifdef HAVE_QUICKSCREEN
- CUSTOM_SETTING(0, qs_item_top, LANG_TOP_QS_ITEM,
+ CUSTOM_SETTING(0, qs_items[QUICKSCREEN_TOP], LANG_TOP_QS_ITEM,
&global_settings.dirfilter, "qs top",
qs_load_from_cfg, qs_write_to_cfg,
qs_is_changed, qs_set_default),
- CUSTOM_SETTING(0, qs_item_left, LANG_LEFT_QS_ITEM,
+ CUSTOM_SETTING(0, qs_items[QUICKSCREEN_LEFT], LANG_LEFT_QS_ITEM,
&global_settings.playlist_shuffle, "qs left",
qs_load_from_cfg, qs_write_to_cfg,
qs_is_changed, qs_set_default),
- CUSTOM_SETTING(0, qs_item_right, LANG_RIGHT_QS_ITEM,
+ CUSTOM_SETTING(0, qs_items[QUICKSCREEN_RIGHT], LANG_RIGHT_QS_ITEM,
&global_settings.repeat_mode, "qs right",
qs_load_from_cfg, qs_write_to_cfg,
qs_is_changed, qs_set_default),
- CUSTOM_SETTING(0, qs_item_bottom, LANG_BOTTOM_QS_ITEM,
+ CUSTOM_SETTING(0, qs_items[QUICKSCREEN_BOTTOM], LANG_BOTTOM_QS_ITEM,
&global_settings.dirfilter, "qs bottom",
qs_load_from_cfg, qs_write_to_cfg,
qs_is_changed, qs_set_default),