summaryrefslogtreecommitdiff
path: root/timemanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-03-14 10:12:30 +0100
committerlouis <louis.braun@gmx.de>2015-03-14 10:12:30 +0100
commit76cc4d1fbe351e9a376dae1772e9116946fc8b7e (patch)
tree90725a9bde37cf06d9770f8a76a027fb418b0a83 /timemanager.c
parent3cc8e78e1bf00e16b49520ac416b74b5fd73c906 (diff)
downloadvdr-plugin-tvguideng-76cc4d1fbe351e9a376dae1772e9116946fc8b7e.tar.gz
vdr-plugin-tvguideng-76cc4d1fbe351e9a376dae1772e9116946fc8b7e.tar.bz2
fixed bug that timemanager does not use configured display time
Diffstat (limited to 'timemanager.c')
-rw-r--r--timemanager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/timemanager.c b/timemanager.c
index 51c02be..f6a0dd3 100644
--- a/timemanager.c
+++ b/timemanager.c
@@ -1,9 +1,10 @@
#include <time.h>
#include <vdr/tools.h>
+#include "config.h"
#include "timemanager.h"
cTimeManager::cTimeManager(void) {
- displayHours = 4;
+ displayHours = config.displayHours;
displaySeconds = displayHours * 3600;
timeFormat = e24Hours;
}