[mythtv-commits] mythtv commit: r23790 by jpoet
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Mar 24 04:46:04 UTC 2010
Author: jpoet
Date: 2010-03-24 04:46:04 +0000 (Wed, 24 Mar 2010)
New Revision: 23790
Changeset: http://svn.mythtv.org/trac/changeset/23790
Modified:
trunk/mythtv/libs/libmythui/mythuitext.cpp
Log:
Fix an off by 1 error in MythUIText::cutDown
When asking QFontMetrics::boundingRect for the area needed for the given
text, the last character of the text was not being included. If that last
character happened to be the difference between the text fitting or not, we
would incorrectly conclude that it did fit.
More information about the mythtv-commits
mailing list