changeset 736:113f66421a62 trunk

[svn] - another playlist DND fix
author nenolod
date Mon, 27 Feb 2006 16:51:14 -0800
parents 35e19f8de781
children 8efa4b799c19
files audacious/playlist_list.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist_list.c	Mon Feb 27 16:42:12 2006 -0800
+++ b/audacious/playlist_list.c	Mon Feb 27 16:51:14 2006 -0800
@@ -700,8 +700,8 @@
                                                      SKIN_PLEDIT_CURRENT));
 
                 gdk_draw_line(obj, gc, pl->pl_widget.x,
-			      pl->pl_widget.y + lpadding + 
-			      (width_approx_letters / 4),
+                              pl->pl_widget.y +
+                              ((pos - pl->pl_first) * pl->pl_fheight),
                               pl->pl_widget.width + pl->pl_widget.x - 1,
                               pl->pl_widget.y +
                               ((pos - pl->pl_first) * pl->pl_fheight));