26 Sep
2007
26 Sep
'07
5:39 p.m.
a_villacis(a)palosanto.com writes:
I considered doing this at first, but ME_ToCF2W is used in three other places beside handling EM_SETCHARFORMAT (all in style.c), and those places might get a null-pointer exception instead of an assert if something went wrong.
A null-pointer exception serves the same purpose as an assert, and they both result in a debugger backtrace, so there's no reason to add more asserts here. -- Alexandre Julliard julliard(a)winehq.org