comctl32: fix MSVC build in imagelist.c
thfabba at gmx.de
Fri Jan 27 16:49:25 CST 2012
This removes the use of a Variable-Length Array in ImageList_CreateImage
and replaces it with HeapAlloc/HeapFree, as it is done in several
other functions in this file.
Alas, FIELD_OFFSET is "not const enough" for ANSI C.
Failure handling is pretty straightforward in this function, so no
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches