diff options
| author | Steve Bavin <pondlife@pondlife.me> | 2007-09-20 09:15:35 +0000 |
|---|---|---|
| committer | Steve Bavin <pondlife@pondlife.me> | 2007-09-20 09:15:35 +0000 |
| commit | 39ff1878bc35b2ce69180d734cc1b58b69419e8e (patch) | |
| tree | 60065c601cf12226f292f815e488aa8973d1e788 /apps | |
| parent | 300f64c99a28bf76dfc23b8730f4ef2749a61140 (diff) | |
| download | rockbox-39ff1878bc35b2ce69180d734cc1b58b69419e8e.zip rockbox-39ff1878bc35b2ce69180d734cc1b58b69419e8e.tar.gz rockbox-39ff1878bc35b2ce69180d734cc1b58b69419e8e.tar.bz2 rockbox-39ff1878bc35b2ce69180d734cc1b58b69419e8e.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/gwps-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index ab53fe9..a2f1aa6 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -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); |