changeset 4182:305dace15fd5

little change to drag and drop position calculation
author Tomasz Mon <desowin@gmail.com>
date Sat, 12 Jan 2008 11:36:27 +0100
parents bd45235ed618
children 050f88e632c6
files src/audacious/ui_skinned_playlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)) {