Commit d1632bf6 authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Pass dtp parameter on from DrawTextExA to DrawTextExW.

parent 3dc71b65
......@@ -1040,7 +1040,7 @@ INT WINAPI DrawTextExA( HDC hdc, LPSTR str, INT count,
* change. U+FFFE is guaranteed to be not a unicode character and
* so will not be generated by DrawTextEx itself.
*/
ret = DrawTextExW( hdc, wstr, wcount, rect, flags, NULL );
ret = DrawTextExW( hdc, wstr, wcount, rect, flags, dtp );
if (flags & DT_MODIFYSTRING)
{
/* Unfortunately the returned string may contain multiple \0s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment