supplement 2 to bdb2607b8e

Origin commit data
------------------
Branch: ni/coolstream
Commit: d051691f89
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-05-08 (Mon, 08 May 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-05-08 19:43:36 +02:00
parent cdd0bec2c7
commit f35bc8f430

View File

@@ -378,14 +378,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
UpdateTimerList();
bool dont_hide = false;
if(channelname_prev.empty() && channelname_next.empty()){
std::string nextChannelName,prevChannelName,tmp;
t_channel_id tmp_channel_id = channel_id;
getPrvNextChannelName(tmp_channel_id, nextChannelName, prevChannelName, tmp,0);
paintHead(channel_id, channelname, prevChannelName, nextChannelName);
}else{
paintHead(channel_id, channelname, channelname_prev, channelname_next);
}
paint(channel_id);
showFunctionBar(channel_id);
@@ -898,6 +891,10 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
header->paint(CC_SAVE_SCREEN_NO);
if(_channelname_prev.empty() && _channelname_next.empty()){
getPrvNextChannelName(_channel_id, _channelname_next, _channelname_prev, _channelname,0);
}
paintBottomBox(_channelname_prev, _channelname_next);
}