Changeset 7237 for trunk/src


Ignore:
Timestamp:
Oct 27, 2001, 12:30:11 PM (24 years ago)
Author:
sandervl
Message:

CreateIconIndirect bugfix

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r7111 r7237  
    1 /* $Id: oslibres.cpp,v 1.28 2001-10-18 15:35:45 achimha Exp $ */
     1/* $Id: oslibres.cpp,v 1.29 2001-10-27 10:30:10 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    447447                goto fail;
    448448        }
    449 // @@@AH 20011018 regression
    450 #if 0
    451449        if(fCursor && pXorBmp->bmBitsPixel >= 8)
    452 #else
    453         if(pXorBmp->bmBitsPixel >= 8)
    454 #endif
    455450        {
    456451            if(isMonoBitmap(pXorBmp, (PBYTE)os2rgb) == TRUE)
  • trunk/src/user32/winicon.cpp

    r7063 r7237  
    1 /* $Id: winicon.cpp,v 1.32 2001-10-15 17:09:05 sandervl Exp $ */
     1/* $Id: winicon.cpp,v 1.33 2001-10-27 10:30:11 sandervl Exp $ */
    22/*
    33 * Win32 Icon Code for OS/2
     
    227227
    228228#ifdef __WIN32OS2__
    229         info->hColorBmp = OSLibWinCreatePointer(info, (char*)(info + 1), (LPBITMAP_W)&bmpAnd, (char*)(info + 1) + sizeAnd, (LPBITMAP_W)&bmpXor, iconinfo->fIcon);
     229        info->hColorBmp = OSLibWinCreatePointer(info, (char*)(info + 1), (LPBITMAP_W)&bmpAnd, (char*)(info + 1) + sizeAnd, (LPBITMAP_W)&bmpXor, iconinfo->fIcon == FALSE);
    230230#endif
    231231        GlobalUnlock(hObj);
Note: See TracChangeset for help on using the changeset viewer.