- Timestamp:
- Aug 4, 1999, 3:10:14 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pe2lx/icon.cpp
r349 r411 1 /* $Id: icon.cpp,v 1. 4 1999-07-20 17:50:19sandervl Exp $ */1 /* $Id: icon.cpp,v 1.5 1999-08-04 13:10:14 sandervl Exp $ */ 2 2 3 3 /* … … 52 52 //SvL: 28-09-'98: only for <= 8 53 53 if(bmpHdr->biBitCount <= 8) 54 rgbsize = (1<<bmpHdr->biBitCount)*sizeof(RGB );54 rgbsize = (1<<bmpHdr->biBitCount)*sizeof(RGB2); 55 55 else rgbsize = 0; 56 56 … … 114 114 os2rgb = (RGB2 *)(iconhdr+1); 115 115 memset(os2rgb, 0, sizeof(RGB2)); 116 memset(os2rgb+1, 0xff, sizeof(RGB )); //not reserved byte116 memset(os2rgb+1, 0xff, sizeof(RGB2)); //not reserved byte 117 117 iconhdr2 = (BITMAPFILEHEADER2 *)(os2rgb+2); 118 118 iconhdr2->usType = BFT_COLORICON;
Note:
See TracChangeset
for help on using the changeset viewer.