Author: jpoet
Date: 2010-03-28 20:39:26 +0000 (Sun, 28 Mar 2010)
New Revision: 23837
Changeset: http://svn.mythtv.org/trac/changeset/23837
Modified:
branches/release-0-23-fixes/mythtv/libs/libmythui/mythuitext.cpp
Log:
Backport [23790] and [23811] from trunk.
Fix an off by 1 error in MythUIText::cutDown.
When calculating 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.