remove unnecessary, commented out code

This commit is contained in:
Andrzej Rybczak
2008-12-28 18:54:47 +01:00
parent 2f1f650235
commit b4d8c273bb

View File

@@ -72,16 +72,10 @@ bool allow_statusbar_unlock = 1;
bool header_update_status = 0;
bool repeat_one_allowed = 0;
//time_t past, now = time(NULL)-1;
void TraceMpdStatus()
{
//past = time(NULL);
//if (past == now+1)
//{
Mpd->UpdateStatus();
time_t now = time(NULL);
//}
Mpd->UpdateStatus();
time_t now = time(NULL);
if (current_screen == csPlaylist && now == timer+Config.playlist_disable_highlight_delay)
mPlaylist->Highlighting(!Config.playlist_disable_highlight_delay);