Changeset 15960


Ignore:
Timestamp:
Mar 29, 2001, 8:52:53 PM (24 years ago)
Author:
sandervl
Message:

DIB section blit bugfix (hdc height & width)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/gdi32/dibsect.cpp

    r15951 r15960  
    1 /* $Id: dibsect.cpp,v 1.48 2001-03-27 20:47:52 sandervl Exp $ */
     1/* $Id: dibsect.cpp,v 1.49 2001-03-29 18:52:53 sandervl Exp $ */
    22
    33/*
     
    196196             (dsect->next != NULL) )
    197197     {
    198        dprintf2(("Increment section to %08X\n",dsect->next));
     198////       dprintf2(("Increment section to %08X\n",dsect->next));
    199199       dsect = dsect->next;
    200200     }
     
    471471  }
    472472  else {
    473         DIBSection *dsect = DIBSection::findHDC(hdcDest);
    474         if(dsect)
    475         {
    476             hdcHeight = dsect->GetHeight();
    477             hdcWidth  = dsect->GetWidth();
    478         }
    479         else
    480         {
    481             hdcHeight = pOS2bmp->cy;
    482             hdcWidth  = pOS2bmp->cx;
    483         }
     473        hdcHeight = pHps->bitmapHeight;
     474        hdcWidth  = pHps->bitmapWidth;
    484475  }
    485476
Note: See TracChangeset for help on using the changeset viewer.