summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist_catalog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 2fbffdaa3c..ef44e36ba7 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -381,9 +381,9 @@ static int add_to_playlist(const char* playlist, bool new_playlist,
381 if (f < 0) 381 if (f < 0)
382 goto exit; 382 goto exit;
383 383
384 i = lseek(f, 0, SEEK_CUR);
384 fs = filesize(f); 385 fs = filesize(f);
385 386 while (i < fs)
386 for (i=0; i<fs;)
387 { 387 {
388 int n; 388 int n;
389 389