RICHED20: EM_SETCHARFORMAT must return 0, not assert, on invalid struct size

a_villacis at palosanto.com a_villacis at palosanto.com
Tue Sep 25 15:23:52 CDT 2007


Applies after previous patch (RICHED20: EM_SETCHARFORMAT must return 1 on
success, not 0). When native riched20 receives an invalid structure size,
it fails cleanly and returns 0. Builtin riched20 asserts unless this patch
is applied. With tests.

Changelog:
* EM_SETCHARFORMAT must not assert on invalid structure size. Instead, it
should just fail and return 0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-riched20-EM_SETCHARFORMAT-no-assert.patch
Type: text/x-patch
Size: 4318 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070925/63b5ae85/attachment.bin 


More information about the wine-patches mailing list