summaryrefslogtreecommitdiff
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
parent3cc8e78e1bf00e16b49520ac416b74b5fd73c906 (diff)
downloadvdr-plugin-tvguideng-76cc4d1fbe351e9a376dae1772e9116946fc8b7e.tar.gz
vdr-plugin-tvguideng-76cc4d1fbe351e9a376dae1772e9116946fc8b7e.tar.bz2
fixed bug that timemanager does not use configured display time
-rw-r--r--HISTORY3
-rw-r--r--channelepg.c1
-rw-r--r--channelgroups.c4
-rw-r--r--timemanager.c3
4 files changed, 5 insertions, 6 deletions
diff --git a/HISTORY b/HISTORY
index a6958e3..77376cd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4,3 +4,6 @@ VDR Plugin 'tvguideng' Revision History
2015-01-26: Version 0.0.1
- Initial revision.
+
+Version 0.0.2
+- fixed bug that timemanager does not use configured display time
diff --git a/channelepg.c b/channelepg.c
index e93eb6a..82eca62 100644
--- a/channelepg.c
+++ b/channelepg.c
@@ -345,7 +345,6 @@ void cChannelEpg::DrawHeader(cViewGrid *channelsGrid) {
void cChannelEpg::DrawGrids(cViewGrid *epgGrid) {
int displaySeconds = timeManager->GetDisplaySeconds();
-
double x, y, width, height;
if (config.displayMode == eHorizontal) {
x = 0.0;
diff --git a/channelgroups.c b/channelgroups.c
index 4f68037..42a36b1 100644
--- a/channelgroups.c
+++ b/channelgroups.c
@@ -54,10 +54,6 @@ void cChannelgroups::Init(void) {
if (channelGroups.size() > 0) {
channelGroups[channelGroups.size()-1].SetChannelStop(lastChannelNumber);
}
-
- for (vector<cChannelGroup>::iterator it = channelGroups.begin(); it != channelGroups.end(); it++) {
- (*it).Debug();
- }
}
void cChannelgroups::Clear(void) {
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;
}