summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 4641e84..a14b8dc 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -795,7 +795,7 @@ bool audio_load_track(int offset, bool start_play, int peek_offset)
return false;
last_index = playlist_get_display_index() - 1
- + playlist_get_first_index(NULL);
+ + playlist_get_first_index(NULL) + peek_offset;
if (last_index >= playlist_amount())
last_index -= playlist_amount();