diff --git a/dlls/user/text.c b/dlls/user/text.c index 30c784da4ea..d4b26a3c143 100644 --- a/dlls/user/text.c +++ b/dlls/user/text.c @@ -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