Ignore:
Timestamp:
May 25, 2001, 12:04:59 PM (24 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/loadres.cpp

    r5391 r5798  
    1 /* $Id: loadres.cpp,v 1.36 2001-03-28 16:20:32 sandervl Exp $ */
     1/* $Id: loadres.cpp,v 1.37 2001-05-25 10:04:59 sandervl Exp $ */
    22
    33/*
     
    250250      pix = *((LPBYTE)info + size);
    251251      DIB_FixColorsToLoadflags(fix_info, fuLoad, pix);
    252       if ((hdc = GetDC(0)) != 0)
     252      if ((hdc = CreateCompatibleDC(0)) != 0)
    253253      {
    254254        char *bits = (char *)info + size;
     
    279279          }
    280280        }
    281         ReleaseDC( 0, hdc );
     281        DeleteDC(hdc);
    282282      }
    283283      GlobalUnlock(hFix);
Note: See TracChangeset for help on using the changeset viewer.