summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-12 21:08:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-12 21:08:23 +0200
commit448f95f8172f7ab895371c97abdb980d332cec91 (patch)
tree39c539d795eee02a5241e649d24cd0e40d93ff42 /vdr.c
parent8a7dbd1e566791814164b00f47f886b4b5d15f4d (diff)
downloadvdr-448f95f8172f7ab895371c97abdb980d332cec91.tar.gz
vdr-448f95f8172f7ab895371c97abdb980d332cec91.tar.bz2
Added missing update of lastOsdSizeUpdate
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 46e42009..cdada01c 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 2.8 2009/05/03 10:33:06 kls Exp $
+ * $Id: vdr.c 2.9 2009/05/12 21:02:58 kls Exp $
*/
#include <getopt.h>
@@ -750,8 +750,10 @@ int main(int argc, char *argv[])
// Update the OSD size:
{
static time_t lastOsdSizeUpdate = 0;
- if (Now != lastOsdSizeUpdate) // once per second
+ if (Now != lastOsdSizeUpdate) { // once per second
cOsdProvider::UpdateOsdSize();
+ lastOsdSizeUpdate = Now;
+ }
}
// Restart the Watchdog timer:
if (WatchdogTimeout > 0) {