diff options
-rw-r--r-- | apps/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 9a132e02f8..f842f22ec3 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -943,7 +943,7 @@ static int calculate_step_count(const struct playlist_info *playlist, int steps) | |||
943 | i++; | 943 | i++; |
944 | 944 | ||
945 | index += direction; | 945 | index += direction; |
946 | } while (i < count); | 946 | } while (i <= count); |
947 | 947 | ||
948 | return steps; | 948 | return steps; |
949 | } | 949 | } |