mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
channellist: fix formatation of new code from "add primetime feature to channellist"
Origin commit data
------------------
Branch: ni/coolstream
Commit: 87027c22a4
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-03 (Sun, 03 Mar 2019)
Origin message was:
------------------
- channellist: fix formatation of new code from "add primetime feature to channellist"
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -874,10 +874,12 @@ int CChannelList::show()
|
|||||||
#if 0
|
#if 0
|
||||||
if (g_settings.channellist_additional)
|
if (g_settings.channellist_additional)
|
||||||
displayList = !displayList;
|
displayList = !displayList;
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
if (primetime && displayNext)
|
if (primetime && displayNext)
|
||||||
primetime = 0;
|
primetime = 0;
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
primetime = 0;
|
primetime = 0;
|
||||||
displayNext = !displayNext;
|
displayNext = !displayNext;
|
||||||
}
|
}
|
||||||
@@ -902,10 +904,12 @@ int CChannelList::show()
|
|||||||
oldselected = selected;
|
oldselected = selected;
|
||||||
paint();
|
paint();
|
||||||
} else {
|
} else {
|
||||||
if (g_settings.channellist_primetime) {
|
if (g_settings.channellist_primetime)
|
||||||
|
{
|
||||||
if (displayNext && !primetime)
|
if (displayNext && !primetime)
|
||||||
primetime = 1;
|
primetime = 1;
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
primetime = 1;
|
primetime = 1;
|
||||||
displayNext = !displayNext;
|
displayNext = !displayNext;
|
||||||
}
|
}
|
||||||
@@ -1863,7 +1867,8 @@ void CChannelList::paintButtonBar(bool is_current)
|
|||||||
Button[bcnt].locale = LOCALE_INFOVIEWER_NOW;
|
Button[bcnt].locale = LOCALE_INFOVIEWER_NOW;
|
||||||
else
|
else
|
||||||
Button[bcnt].locale = LOCALE_CHANNELLIST_PRIMETIME;
|
Button[bcnt].locale = LOCALE_CHANNELLIST_PRIMETIME;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user