From a18e93d63ef327609767c285d59adaf37e89ce8d Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 18 Feb 2007 21:40:13 +0000 Subject: [PATCH] Fixed scrolltovisible bug. --- Playlist/PlaylistController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 52b9d02de..0cf0bbf76 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -638,7 +638,7 @@ [currentEntry setCurrent:NO]; [pe setCurrent:YES]; - [tableView scrollRowToVisible:([(PlaylistEntry *)pe index]-1)]; + [tableView scrollRowToVisible:[(PlaylistEntry *)pe index]]; [pe retain]; [currentEntry release];