mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
comctl32: Fix MSVC build in imagelist.c.
This commit is contained in:
parent
5860a5b386
commit
2fb139ffe7
1 changed files with 1 additions and 1 deletions
|
@ -3094,7 +3094,7 @@ static HBITMAP ImageList_CreateImage(HDC hdc, HIMAGELIST himl, UINT count)
|
|||
|
||||
if ((ilc >= ILC_COLOR4 && ilc <= ILC_COLOR32) || ilc == ILC_COLOR)
|
||||
{
|
||||
char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
|
||||
char buffer[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];
|
||||
BITMAPINFO *bmi = (BITMAPINFO *)buffer;
|
||||
|
||||
TRACE("Creating DIBSection %d x %d, %d Bits per Pixel\n",
|
||||
|
|
Loading…
Reference in a new issue