summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
authorJustin Heiner <jheiner@rockbox.org>2002-08-23 02:19:47 +0000
committerJustin Heiner <jheiner@rockbox.org>2002-08-23 02:19:47 +0000
commitd6a0f6ccd983f7a1082267dfbadc0a51af07fc77 (patch)
treefd467c684ef17aa895617a3401d2d96289ee4cd1 /apps/settings_menu.c
parent2630245cb9a6504269951738363b1c07479bdc52 (diff)
Fixed a problem with my #define CUSTOM_WPS - It didn't lower the menu items to 4 from 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index b530073ceb..0d88edfff4 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -91,14 +91,16 @@ static void wps_set(void)
char* names[] = { "ID3 Tags", "File ", "Parse " };
set_option("[WPS display]", &global_settings.wps_display, names, 3 );
#else
- char* names[] = { "1 Line ID3", "2 Line ID3", "File ","Parse ",
#ifdef CUSTOM_WPS
- "Custom WPS " };
+ char* names[] = { "1 Line ID3", "2 Line ID3", "File ",
+ "Parse ", "Custom WPS " };
+ set_option("[WPS display]", &global_settings.wps_display, names, 5 );
#else
- };
+ char* names[] = { "1 Line ID3", "2 Line ID3", "File ",
+ "Parse " };
+ set_option("[WPS display]", &global_settings.wps_display, names, 4 );
#endif
- set_option("[WPS display]", &global_settings.wps_display, names, 5 );
#endif
}