summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-10-18 06:55:15 +0200
committerChristian Soffke <christian.soffke@gmail.com>2024-10-18 06:55:15 +0200
commit8c1c8597ac3c0b43c654ed2fcdfc7320bf6eeb32 (patch)
treee93a10125a72ecb109a74fed21d547b4ffad96e9
parentac46684d7fe4a7b97e5553a3e8507e5cc65049a4 (diff)
downloadrockbox-8c1c8597ac.tar.gz
rockbox-8c1c8597ac.zip
plugins: playing time: OBOE
Change-Id: I1c6b73e06ac615db6e764aa54f042ec4e2dee3a2
-rw-r--r--apps/plugins/playing_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c
index 47784cf85e..5b07840878 100644
--- a/apps/plugins/playing_time.c
+++ b/apps/plugins/playing_time.c
@@ -422,7 +422,7 @@ static int pt_add_track(int i, enum ePT_SUM section, struct playing_time_info *p
struct playlist_track_info pl_track;
static unsigned long talked_tick;
int progress_total = pti->remaining_only ?
- pti->nb_tracks - pti->curr_display_index :
+ (pti->nb_tracks - pti->curr_display_index) + 1 :
pti->nb_tracks;
rb->splash_progress(pti->counted, progress_total, "%s (%s)",