Permalink
Browse files

pvr: fix typos in CPVRManager

  • Loading branch information...
1 parent 2e3e8b2 commit 0813fe070e6ef3d52ad7268141f71a39540db0e7 @opdenkamp opdenkamp committed Mar 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/pvr/PVRManager.cpp
View
@@ -435,14 +435,14 @@ bool CPVRManager::ContinueLastChannel()
for (int i = 0; i < GetChannelGroups()->GetGroupAllTV()->GetNumChannels(); i++)
{
const CPVRChannel *nextChannel = GetChannelGroups()->GetGroupAllTV()->GetByIndex(i);
- if (nextChannel->ClientID() < 0 | !m_clients[nextChannel->ClientID()] | !m_clients[nextChannel->ClientID()]->ReadyToUse())
+ if (nextChannel->ClientID() < 0 || !m_clients[nextChannel->ClientID()] || !m_clients[nextChannel->ClientID()]->ReadyToUse())
continue;
channel = channel->LastWatched() > nextChannel->LastWatched() ? channel : nextChannel;
}
for (int i = 0; i < GetChannelGroups()->GetGroupAllRadio()->GetNumChannels(); i++)
{
const CPVRChannel *nextChannel = GetChannelGroups()->GetGroupAllRadio()->GetByIndex(i);
- if (nextChannel->ClientID() < 0 | !m_clients[nextChannel->ClientID()] | !m_clients[nextChannel->ClientID()]->ReadyToUse())
+ if (nextChannel->ClientID() < 0 || !m_clients[nextChannel->ClientID()] || !m_clients[nextChannel->ClientID()]->ReadyToUse())
continue;
channel = channel->LastWatched() > nextChannel->LastWatched() ? channel : nextChannel;
}

0 comments on commit 0813fe0

Please sign in to comment.