Re: riched20: Prevent setting an invalid default format rect

2011-10-16 Thread Thomas Faber
Hey, On 2011-10-15 12:10, Thomas Faber wrote: > The patch fixes this by adding checks to ME_SetDefaultFormatRect to > use the minimal rectangle that is still valid in this case. I've made some tests (will post them later) and it turns out this rectangle is also invalid in Windows in this case, so

Re: [patch] Support NULL puLen in VerQueryValue

2011-10-16 Thread Rafael EspĂ­ndola
>> You should write some tests to examine the behavior of VerQueryValue >> with NULL puLen. >> > > I just found out that wine has a test for it, but it has been commented out: The attached patch also uncomment the tests. Cheers, Rafael diff --git a/dlls/version/tests/info.c b/dlls/version/tests/i