diff src/audacious/ui_skinned_playlist.c @ 3218:018b37cf0730 trunk

hasta la vista old widgetcore
author Tomasz Mon <desowin@gmail.com>
date Thu, 02 Aug 2007 14:28:37 +0200
parents 764e8f87c186
children 0e1d0ef5ed99
line wrap: on
line diff
--- a/src/audacious/ui_skinned_playlist.c	Thu Aug 02 14:14:32 2007 +0200
+++ b/src/audacious/ui_skinned_playlist.c	Thu Aug 02 14:28:37 2007 +0200
@@ -670,7 +670,7 @@
             if ((y > pl->y)
                 && !(y > (priv->height + ply))) {
 
-                pos = ((y - ((Widget *) pl)->y) / pl->fheight) +
+                pos = ((y - pl->y) / pl->fheight) +
                     pl->first;
 
                 if (pos > (plength)) {