From 59d7369cf845b926cf1a6cd7af1f4eae3ca00873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 12 Dec 2003 20:30:02 +0000 Subject: [PATCH] Pass dpt parameter on from DrawTextExA to DrawTextExW svn path=/trunk/; revision=6975 --- reactos/lib/user32/windows/font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/windows/font.c b/reactos/lib/user32/windows/font.c index 1c189e01358..170f4eb06f5 100644 --- a/reactos/lib/user32/windows/font.c +++ b/reactos/lib/user32/windows/font.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: font.c,v 1.7 2003/07/10 21:04:31 chorns Exp $ +/* $Id: font.c,v 1.8 2003/12/12 20:30:02 gvg Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -1067,7 +1067,7 @@ 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