[mythtv-commits] mythtv/master commit: 0bab8fb3f by Robert McNamara (rmcnamara)
MythTV
noreply at mythtv.org
Sun Apr 10 13:43:15 UTC 2011
Author: Robert McNamara <rmcnamara at mythtv.org>
Change Date: 2011-04-10T06:41:45-07:00
Push Date: 2011/04/10 06:43:13 -0700
Repository: mythtv
Branch: master
New Revision: 0bab8fb3f05d51f510225b413d7abbef053cd0f5
Changeset: https://github.com/MythTV/mythtv/commit/0bab8fb3f
Log:
API: Fix all the methods which used a start and end index.
The iteration was set to end at nCount, and if nStartIndex was greater than nCount, you got nothing, and you got progressively less as you approached nCount. Instead, stop iterating at nEndIndex, which is nStartIndex + nCount.
Modified:
mythtv/programs/mythbackend/services/channel.cpp
mythtv/programs/mythbackend/services/dvr.cpp
More information about the mythtv-commits
mailing list