Pass dtp parameter on from DrawTextExA to DrawTextExW.

This commit is contained in:
Ge van Geldorp 2003-12-13 03:25:57 +00:00 committed by Alexandre Julliard
parent 3dc71b65a7
commit d1632bf652
1 changed files with 1 additions and 1 deletions

View File

@ -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