Pass dtp parameter on from DrawTextExA to DrawTextExW.
diff --git a/dlls/user/text.c b/dlls/user/text.c index 30c784d..d4b26a3 100644 --- a/dlls/user/text.c +++ b/dlls/user/text.c
@@ -1040,7 +1040,7 @@ * 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