From 4394cc787e2a83dd8da92f9ab0e6cb25ee188e54 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Mon, 21 Nov 2005 11:31:15 +0000 Subject: The previous commit didn't fully fix the problem. Now it should have been fixed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8022 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/playlist.c') 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) i++; index += direction; - } while (i < count); + } while (i <= count); return steps; } -- cgit v1.2.3