Ticket #2054: fix.2.patch

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

Correctly stores a copy of m_Area in m_OrigDisplayRect (update: spaces instead of tabs)

  • 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")