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

Alexandre Julliard julliard at
Wed Sep 26 05:20:35 CDT 2007

a_villacis at writes:

> Changelog:
> * EM_SETCHARFORMAT must not assert on invalid structure size. Instead, it
> should just fail and return 0.

It would be better to do that in ME_ToCF2W since it already has to
check the size, simply make it return NULL on error or something like

Alexandre Julliard
julliard at

More information about the wine-devel mailing list