summaryrefslogtreecommitdiffstats
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index ab53fe95cc..a2f1aa660b 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);