From aebcc9d15cc76d38804d346fabe7c7b664e95db8 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 18 Aug 2007 13:03:46 +0200 Subject: Fixed initializing 'Now' in main loop --- vdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vdr.c b/vdr.c index bd7ce40b..0f9cf5f9 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.297 2007/08/17 14:32:02 kls Exp $ + * $Id: vdr.c 1.298 2007/08/18 13:03:46 kls Exp $ */ #include @@ -705,7 +705,7 @@ int main(int argc, char *argv[]) // Attach launched player control: cControl::Attach(); - static time_t Now = time(NULL); + time_t Now = time(NULL); // Make sure we have a visible programme in case device usage has changed: if (!EITScanner.Active() && cDevice::PrimaryDevice()->HasDecoder() && !cDevice::PrimaryDevice()->HasProgramme()) { -- cgit v1.2.3