From 7d4414ebd8ba8bb79359a72ccd7d0b71fdb0fd36 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 18 Jul 2010 18:13:53 +0000 Subject: AB_REPEAT_ENABLE was never defined to 2 There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/statusbar.c | 2 +- apps/gui/wps.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'apps/gui') diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index 2194b2fca0..73ccfa7762 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -325,7 +325,7 @@ void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw, struct vi case REPEAT_AB: gui_statusbar_icon_play_mode(display, Icon_RepeatAB); break; -#endif /* AB_REPEAT_ENABLE == 1 */ +#endif /* AB_REPEAT_ENABLE */ case REPEAT_ONE: gui_statusbar_icon_play_mode(display, Icon_RepeatOne); diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 6b5270eb7e..a582afa76b 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -888,10 +888,6 @@ long gui_wps_show(void) { ab_jump_to_A_marker(); break; -#if (AB_REPEAT_ENABLE == 2) - } else { - ab_reset_markers(); -#endif } } else @@ -915,10 +911,6 @@ long gui_wps_show(void) { ab_jump_to_A_marker(); break; -#if (AB_REPEAT_ENABLE == 2) - } else { - ab_reset_markers(); -#endif } } else -- cgit v1.2.3