Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Dvr::GetFilteredRecordedList() to return entries when no count is
given.  Previously, if filters were given without a count limit, no
entries would ever be returned.
  • Loading branch information
gigem committed Jun 30, 2013
1 parent ad8bfd5 commit 712a0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/services/dvr.cpp
Expand Up @@ -116,7 +116,7 @@ DTC::ProgramList* Dvr::GetFilteredRecordedList( bool bDescending,
}
else
{
int nMax = nCount;
int nMax = (nCount > 0) ? nCount : progList.size();

nAvailable = 0;
nCount = 0;
Expand Down

0 comments on commit 712a0c2

Please sign in to comment.