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.