[mythtv-commits] mythtv commit: r25052 by mdean
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Jun 9 00:57:24 UTC 2010
Author: mdean
Date: 2010-06-09 00:57:24 +0000 (Wed, 09 Jun 2010)
New Revision: 25052
Changeset: http://svn.mythtv.org/trac/changeset/25052
Modified:
trunk/mythtv/libs/libmythui/mythfontmanager.cpp
trunk/mythtv/libs/libmythui/mythfontmanager.h
Log:
Add an explicit recursion limit to MythFontManager's directory scan in case things don't work as expected (as with [25050]).
The current limit is 100 directories per "user" (i.e. per theme)--which is overkill, but in testing took less than 40ms with heavily populated directories on my not-spectacular dev system. In theory, though, we'll never actually hit the limit, so--presuming we scan the directories we should--scan time will be identical to before this patch (and much lower than the 40ms).
More information about the mythtv-commits
mailing list