Ticket #38993: mypatch.diff

File mypatch.diff, 515 bytes (added by astrofitz (Michael Fitzgerald), 11 years ago)
  • miext/damage/damage.c

    a b  
    439439    drawableDamage(pDrawable);
    440440    DAMAGE_GC_FUNC_PROLOGUE(pGC);
    441441    (*pGC->funcs->ValidateGC) (pGC, changes, pDrawable);
    442     if (pDamage)
    443         pGCPriv->ops = pGC->ops; /* so it's not NULL, so FUNC_EPILOGUE does work */
    444     else
    445         pGCPriv->ops = NULL;
     442    pGCPriv->ops = pGC->ops; /* just so it's not NULL */
    446443    DAMAGE_GC_FUNC_EPILOGUE(pGC);
    447444}
    448445