From d1632bf652cfc071ad45499f378587cba9224f65 Mon Sep 17 00:00:00 2001 From: Ge van Geldorp Date: Sat, 13 Dec 2003 03:25:57 +0000 Subject: [PATCH] Pass dtp parameter on from DrawTextExA to DrawTextExW. --- dlls/user/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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