Changeset 6502 for trunk/src/shell32
- Timestamp:
- Aug 9, 2001, 5:01:50 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/shelllink.c
r6492 r6502 397 397 if(hResInfo) { 398 398 GRPICONDIR icondir = {0}; 399 BITMAPINFO *bmi; 400 401 bmi = (BITMAPINFO *)LockResource(LoadResource(hModule, hResInfo)); 399 402 400 403 icondir.idReserved = 0; … … 402 405 icondir.idCount = 1; 403 406 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; 404 410 405 411 if(!SaveIconResAsOS2ICO(&icondir, hModule, szXPMFileName))
Note:
See TracChangeset
for help on using the changeset viewer.