forked from len0rd/rockbox
Fix FS#7766 - crash at track transition if A-B repeat is enabled but no B marker is set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14769 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
300f64c99a
commit
39ff1878bc
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ static void draw_progressbar(struct gui_wps *gwps, int line)
|
|||
HORIZONTAL);
|
||||
|
||||
#ifdef AB_REPEAT_ENABLE
|
||||
if ( ab_repeat_mode_enabled() )
|
||||
if ( ab_repeat_mode_enabled() && state->id3->length != 0 )
|
||||
ab_draw_markers(display, state->id3->length,
|
||||
data->progress_start, data->progress_end, sb_y,
|
||||
data->progress_height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue