Ticket #2054: fix.4.patch

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

More elegant and appropriate solution given that we do not need to issue a redraw. (update: removed curly brackets again)

  • mythuitext.cpp

    old new  
    210210bool MythUIText::ParseElement(QDomElement &element)
    211211{
    212212    if (element.tagName() == "area")
    213         SetArea(parseRect(element));
     213        m_Area = m_OrigDisplayRect = MythUIType::GetArea();
    214214    else if (element.tagName() == "altarea")
    215215        m_AltDisplayRect = parseRect(element);
    216216    else if (element.tagName() == "font")