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 9a132e0..f842f22 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) i++; index += direction; - } while (i < count); + } while (i <= count); return steps; } |