# HG changeset patch # User chainsaw # Date 1140556179 28800 # Node ID 6c14adb859fef9ac8168e7a6eb5bfd8d9fe23d8c # Parent 97113126c7f9215ff2c11e331b228ba62c89bc8e [svn] Fix logic for shaded mode. With TIME_REMAINING and a song of unknown length, we got just the :, and not the time. diff -r 97113126c7f9 -r 6c14adb859fe audacious/mainwin.c --- 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));