mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
channellist/infoviewer: align calculations for "since-time" of current event
Origin commit data
------------------
Branch: ni/coolstream
Commit: 61a116a2eb
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-03-11 (Sun, 11 Mar 2018)
Origin message was:
------------------
- channellist/infoviewer: align calculations for "since-time" of current event
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1969,7 +1969,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)
|
||||
|
Reference in New Issue
Block a user