Ticket #2054: fix.patch

File fix.patch, 492 bytes (added by adaniels, 18 years ago)

Correctly stores a copy of m_Area in m_OrigDisplayRect

  • mythuitext.cpp

    old new  
    210210bool MythUIText::ParseElement(QDomElement &element)
    211211{
    212212    if (element.tagName() == "area")
     213        {
    213214        SetArea(parseRect(element));
     215        m_OrigDisplayRect = MythUIType::GetArea();
     216        }
    214217    else if (element.tagName() == "altarea")
    215218        m_AltDisplayRect = parseRect(element);
    216219    else if (element.tagName() == "font")