Fix blank clock when switch interval < 1s.

master
Marc Jessome 15 years ago committed by Andrzej Rybczak
parent 89e00e447a
commit a259a67c16
  1. 2
      src/clock.cpp

@ -111,8 +111,6 @@ void Clock::Update()
myPlaylist->SwitchTo();
static timeval past = { 0, 0 };
if (Global::Timer.tv_sec <= past.tv_sec)
return;
gettimeofday(&past, 0);
tm *time = localtime(&past.tv_sec);

Loading…
Cancel
Save