mshtml: fix MSVC build in htmllocation.c

Thomas Faber thfabba at gmx.de
Thu Nov 17 06:18:15 CST 2011


This removes the use of two Variable Length Arrays.
Instead of filling a local buffer, then allocating a new one using
SysAllocString[Len], the strings are now directly written to the latter
buffer.
Note that the 'len' variable in hunk 2 does not need to count in the
terminating null in this case because SysAllocStringLen automatically
adds one.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-mshtml-fix-MSVC-build-in-htmllocation.c.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111117/504c919a/attachment.ksh>


More information about the wine-patches mailing list