# HG changeset patch # User Tomasz Mon # Date 1200134187 -3600 # Node ID 305dace15fd5b6e2303fdefb8acab9c8bb04bc94 # Parent bd45235ed6183966c4f1980da53637c723690a21 little change to drag and drop position calculation diff -r bd45235ed618 -r 305dace15fd5 src/audacious/ui_skinned_playlist.c --- a/src/audacious/ui_skinned_playlist.c Fri Jan 11 11:46:33 2008 -0600 +++ b/src/audacious/ui_skinned_playlist.c Sat Jan 12 11:36:27 2008 +0100 @@ -684,7 +684,7 @@ if ((y > pl->y) && !(y > (priv->height + ply))) { - pos = ((y - pl->y) / pl->fheight) + + pos = (y / pl->fheight) + pl->first; if (pos > (plength)) {