user32: Fix invalid argument passed to ExtCreateRegion.

Sebastian Lackner sebastian at fds-team.de
Sun Nov 2 23:59:49 CST 2014


The tests http://source.winehq.org/patches/data/107382 show that ExtCreateRegion is called with incorrect arguments at a lot of places in the wine source.
Please note that the variable 'size' doesn't include the header size. At one place the RECT count is passed instead of the size in bytes.

---
 dlls/user32/painting.c | 4 ++--
 dlls/user32/winpos.c   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Fix-invalid-argument-passed-to-ExtCreateRegio.patch
Type: text/x-patch
Size: 3184 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141103/e5226075/attachment.bin>


More information about the wine-patches mailing list