Changeset 6502


Ignore:
Timestamp:
Aug 9, 2001, 5:01:50 PM (24 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r6498 r6502  
    1 /* $Id: changelog,v 1.1644 2001-08-09 08:43:48 sandervl Exp $ */
     1/* $Id: changelog,v 1.1645 2001-08-09 15:01:30 sandervl Exp $ */
    22
    33 2001-08-09: Sander van Leeuwen <sandervl@xs4all.nl>
     
    55                  (fixes RealPlayer 8 install)
    66                o Use WinQueueFromID to query message queue handle of first thread
     7                o Convert 32x32 icon to 40x40 by centering it instead of scaling
    78    - KERNEL32: o Use WinQueueFromID to query message queue handle of new thread
     9    - SHELL32:  o Fill in complete resource dir for icon conversion
    810
    911 2001-08-08: knut st. osmundsen <kosmunds@csc.com>
  • trunk/src/shell32/shelllink.c

    r6492 r6502  
    397397            if(hResInfo) {
    398398                GRPICONDIR icondir = {0};
     399                BITMAPINFO *bmi;
     400
     401                bmi = (BITMAPINFO *)LockResource(LoadResource(hModule, hResInfo));
    399402
    400403                icondir.idReserved = 0;
     
    402405                icondir.idCount    = 1;
    403406                icondir.idEntries[0].nID = nIndex;
     407                icondir.idEntries[0].bHeight = bmi->bmiHeader.biHeight/2;
     408                icondir.idEntries[0].bWidth  = bmi->bmiHeader.biWidth;
     409                icondir.idEntries[0].wBitCount = bmi->bmiHeader.biBitCount;
    404410
    405411                if(!SaveIconResAsOS2ICO(&icondir, hModule, szXPMFileName))
Note: See TracChangeset for help on using the changeset viewer.