changeset 2604:e732655e8191

fix seeking
author Tomasz Mon <desowin@gmail.com>
date Wed, 21 May 2008 13:39:53 +0200
parents 45cfb49a8d1c
children ecd8b5653c30
files src/skins/ui_main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_main.c	Wed May 21 13:16:27 2008 +0200
+++ b/src/skins/ui_main.c	Wed May 21 13:39:53 2008 +0200
@@ -1535,7 +1535,7 @@
 {
     gint length, time;
 
-    length = aud_playlist_get_current_length(aud_playlist_get_active()) / 1000;
+    length = audacious_drct_get_length();
     time = (length * pos) / 219;
     audacious_drct_seek(time);
     mainwin_release_info_text();