Simplified ChannelSwitch().

This commit is contained in:
Rolf Ahrenberg 2015-02-08 23:27:16 +02:00
parent 749e3e3238
commit 377e73dfe1
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ void cFemonOsd::ChannelSwitch(const cDevice * device, int channelNumber, bool li
if (!device || !liveView)
return;
if (!channelNumber || !channel || channel->Number() != channelNumber) {
if (!channelNumber) {
if (m_Receiver) {
m_Receiver->Deactivate();
DELETENULL(m_Receiver);