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

a_villacis at a_villacis at
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.

* 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 : 

More information about the wine-patches mailing list