diff options
| author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2015-10-25 20:58:36 +0100 |
|---|---|---|
| committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2015-10-25 20:58:36 +0100 |
| commit | ce26212138d53147e3e2e91f7b864d5deada344f (patch) | |
| tree | 546ff2ef67e9eaf2bf18bb52da50d2951bbbeff6 /apps | |
| parent | d57e65109ac74ce49d8ac50a00d8ef88a0065e28 (diff) | |
| download | rockbox-ce26212138d53147e3e2e91f7b864d5deada344f.zip rockbox-ce26212138d53147e3e2e91f7b864d5deada344f.tar.gz rockbox-ce26212138d53147e3e2e91f7b864d5deada344f.tar.bz2 rockbox-ce26212138d53147e3e2e91f7b864d5deada344f.tar.xz | |
AB repeat: fix bug that prevents to jump to beginning of track
Change-Id: Ia323a2b16eaaf7d9afa888b71fd8b20fd9e2e62c
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/wps.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index d1161ea7..31e5463 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -915,13 +915,10 @@ long gui_wps_show(void) #ifdef AB_REPEAT_ENABLE /* if we're in A/B repeat mode and the current position is past the A marker, jump back to the A marker... */ - if ( ab_repeat_mode_enabled() ) + if ( ab_repeat_mode_enabled() && ab_after_A_marker(state->id3->elapsed) ) { - if ( ab_after_A_marker(state->id3->elapsed) ) - { - ab_jump_to_A_marker(); - break; - } + ab_jump_to_A_marker(); + break; } else /* ...otherwise, do it normally */ |