- channellist/infoviewer: align calculations for "since-time" of current event

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-03-11 21:53:20 +01:00
committed by Thilo Graf
parent 3a9ecc9aab
commit 9bf5ca63a8
2 changed files with 2 additions and 2 deletions

View File

@@ -1885,7 +1885,7 @@ void CInfoViewer::show_Data (bool calledFromEvent)
const char *unit_short_minute = g_Locale->getText(LOCALE_UNIT_SHORT_MINUTE);
if (info_CurrentNext.flags & CSectionsdClient::epgflags::has_current) {
int seit = (abs(jetzt - info_CurrentNext.current_zeit.startzeit) + 30) / 60;
unsigned seit = (jetzt - info_CurrentNext.current_zeit.startzeit + 30) / 60;
int rest = (info_CurrentNext.current_zeit.dauer / 60) - seit;
runningPercent = 0;
if (!timeset)