Ticket #3501: iconosd.patch

File iconosd.patch, 765 bytes (added by maverik044, 17 years ago)
  • libs/libmythtv/osdtypes.

    old new void OSDTypeImage::LoadImage(const QStri 
    12741274        m_alpha = NULL;
    12751275    }
    12761276
     1277    if (scalew > 0 && m_scalew > 0)
     1278        scalew = m_scalew;
     1279    if (scaleh > 0 && m_scaleh > 0)
     1280        scaleh = m_scaleh;
     1281
    12771282    if (usecache)
    12781283    {
    12791284        if (!filename.isEmpty() && filename.length() >= 2)
    void OSDTypeImage::LoadImage(const QStri 
    13131318    if (tmpimage.width() == 0)
    13141319        return;
    13151320 
    1316     if (scalew > 0 && m_scalew > 0)
    1317         scalew = m_scalew;
    1318     if (scaleh > 0 && m_scaleh > 0)
    1319         scaleh = m_scaleh;
    1320 
    13211321    int imwidth = 0, imheight = 0;
    13221322
    13231323    if (scalew > 0)