[mythtv-commits] mythtv commit: r22357 by stuartm
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Oct 11 17:13:28 UTC 2009
Author: stuartm
Date: 2009-10-11 17:13:27 +0000 (Sun, 11 Oct 2009)
New Revision: 22357
Changeset: http://cvs.mythtv.org/trac/changeset/22357
Modified:
trunk/mythtv/libs/libmythui/mythuiimage.cpp
Log:
Fix a long standing bug with image animations where we allowed the themer to defined the image number range but 'low' could be any number so long as it was zero. The code made several assumptions that the images map starts at zero and that the last key value is size()-1, which wasn't the case since the key was based on the value supplied by the themer. We now number internally from 0 and insert NULL when an image can't be loaded meaning the last item will always be size()-1
More information about the mythtv-commits
mailing list