changeset 654:6c14adb859fe trunk

[svn] Fix logic for shaded mode. With TIME_REMAINING and a song of unknown length, we got just the :, and not the time.
author chainsaw
date Tue, 21 Feb 2006 13:09:39 -0800
parents 97113126c7f9
children 8fee6432cd63
files audacious/mainwin.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/mainwin.c	Sun Feb 19 18:20:51 2006 -0800
+++ b/audacious/mainwin.c	Tue Feb 21 13:09:39 2006 -0800
@@ -532,8 +532,7 @@
         widget_show(WIDGET(mainwin_seject));
 
         textbox_set_scroll(mainwin_info, FALSE);
-        if (bmp_playback_get_playing()
-            && playlist_get_current_length() != -1)
+        if (bmp_playback_get_playing())
 		{
             	widget_show(WIDGET(mainwin_sposition));
 	        widget_show(WIDGET(mainwin_stime_min));