[version/info.c] No need to test and convert 32bit resource in
VERSION_GetFileVersionInfo_16
Paul Vriens
Paul.Vriens at xs4all.nl
Tue Jul 26 15:27:40 CDT 2005
Hi,
VERSION_GetFileVersionInfo_16 is always called after calling
VERSION_GetFileVersionInfo_PE so we know for sure we can only deal with
16bit version information.
If we have a len we know we have 16bit version information so no need to
test that again.
Last but not least, Windows never converts the structure from 32bit to
16bit (besides as said before it we end up in
VERSION_GetFileVersionInfo_16 the resource information is definitely
16bit)
Patch has to be applied after "Remove wrong error path" one.
Changelog
Remove 32bit references/checks in VERSION_GetFileVersionInfo_16
Cheers,
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version_info_5.c.diff
Type: text/x-patch
Size: 1375 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050726/43ee3aca/version_info_5.c.bin
More information about the wine-patches
mailing list