gdi32: GetTextExtentPoint and GetTextExtentExPoint behavedifferently if there's a \n in the string.

Dmitry Timoshkov dmitry at codeweavers.com
Thu Sep 21 04:09:10 CDT 2006


"Huw Davies" <huw at codeweavers.com> wrote:

>> >+todo_wine {
>> >+    /* The \n in the string is apparently handled differently in 
>> >GetTextExtentPoint and GetTextExtentExPoint */
>> >+    ok(sz1.cx != sz2.cx,
>> >+       "cx from GetTextExtentExPointW (%ld) and GetTextExtentPointW (%ld) 
>> >are the same\n", sz1.cx, sz2.cx);
>> >+ }
>> 
>> This test fails for me (i.e. sz1.cx == sz2.cx) under XP (SP2+all the latest 
>> fixes).
> 
> Thanks, guess I'll just get rid of that test altogether then.

I accidently left 2 tests in my comment, that may have been misleading.
Just to clarify things: an actual test which fails for me is the one in
the todo_wine block.

-- 
Dmitry.



More information about the wine-devel mailing list