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:
vanhofen
2019-03-03 22:20:23 +01:00
parent 0959eccf23
commit f631af44f3

View File

@@ -874,10 +874,12 @@ int CChannelList::show()
#if 0
if (g_settings.channellist_additional)
displayList = !displayList;
else {
else
{
if (primetime && displayNext)
primetime = 0;
else {
else
{
primetime = 0;
displayNext = !displayNext;
}
@@ -902,10 +904,12 @@ int CChannelList::show()
oldselected = selected;
paint();
} else {
if (g_settings.channellist_primetime) {
if (g_settings.channellist_primetime)
{
if (displayNext && !primetime)
primetime = 1;
else {
else
{
primetime = 1;
displayNext = !displayNext;
}
@@ -1863,7 +1867,8 @@ void CChannelList::paintButtonBar(bool is_current)
Button[bcnt].locale = LOCALE_INFOVIEWER_NOW;
else
Button[bcnt].locale = LOCALE_CHANNELLIST_PRIMETIME;
} else
}
else
continue;
}
}