From 9c4bab29e561f1282dbaf2c68ccf44e26c5d00d6 Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 18 Feb 2007 21:41:47 +0000 Subject: [PATCH] Fixed definition/implementation discrepency for setCurrentEntry --- Playlist/PlaylistController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 0cf0bbf76..1eb400263 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -633,12 +633,12 @@ return currentEntry; } -- (void)setCurrentEntry:(id)pe +- (void)setCurrentEntry:(PlaylistEntry *)pe { [currentEntry setCurrent:NO]; [pe setCurrent:YES]; - [tableView scrollRowToVisible:[(PlaylistEntry *)pe index]]; + [tableView scrollRowToVisible:[pe index]]; [pe retain]; [currentEntry release];