[mythtv-commits] mythtv commit: r21737 - in trunk/mythtv/libs by stuartm
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Sep 8 16:12:01 UTC 2009
Author: stuartm
Date: 2009-09-08 16:12:00 +0000 (Tue, 08 Sep 2009)
New Revision: 21737
Changeset: http://cvs.mythtv.org/trac/changeset/21737
Modified:
trunk/mythtv/libs/libmythdb/mythversion.h
trunk/mythtv/libs/libmythui/mythrect.cpp
trunk/mythtv/libs/libmythui/mythrect.h
Log:
Overload the comparison operator for mythrect, fixes a bug where MythUIType::SetArea() was failing when the positioning and/or sizing used percentage values exclusively. In this scenario the integer values of the MythRect were all zero matching the default initialised m_Area and the new rect was assumed to be identical at which point we returned early.
More information about the mythtv-commits
mailing list