Pass dpt parameter on from DrawTextExA to DrawTextExW

svn path=/trunk/; revision=6975
This commit is contained in:
Gé van Geldorp 2003-12-12 20:30:02 +00:00
parent e76c8bc473
commit 59d7369cf8

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS user32.dll
* FILE: lib/user32/windows/input.c * 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 * change. U+FFFE is guaranteed to be not a unicode character and
* so will not be generated by DrawTextEx itself. * 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) if (flags & DT_MODIFYSTRING)
{ {
/* Unfortunately the returned string may contain multiple \0s /* Unfortunately the returned string may contain multiple \0s