From 76cc4d1fbe351e9a376dae1772e9116946fc8b7e Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 14 Mar 2015 10:12:30 +0100 Subject: fixed bug that timemanager does not use configured display time --- HISTORY | 3 +++ channelepg.c | 1 - channelgroups.c | 4 ---- timemanager.c | 3 ++- 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::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 #include +#include "config.h" #include "timemanager.h" cTimeManager::cTimeManager(void) { - displayHours = 4; + displayHours = config.displayHours; displaySeconds = displayHours * 3600; timeFormat = e24Hours; } -- cgit v1.2.3