Permalink
Browse files

Fix Coverity #1028693

  • Loading branch information...
jyavenard committed Jul 12, 2013
1 parent c446495 commit c8c17ad01ef6e73c845e88266b1dd2f0234bd62d
Showing with 6 additions and 0 deletions.
  1. +6 −0 mythtv/libs/libmythtv/channelutil.cpp
@@ -2378,8 +2378,14 @@ uint ChannelUtil::GetNextChannel(
do
{
if (it == sorted.begin())
{
it = find(sorted.begin(), sorted.end(),
sorted.rbegin()->chanid);
if (it == sorted.end())
{
--it;
}
}
else
--it;
}

0 comments on commit c8c17ad

Please sign in to comment.