mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Pass dpt parameter on from DrawTextExA to DrawTextExW
svn path=/trunk/; revision=6975
This commit is contained in:
parent
e76c8bc473
commit
59d7369cf8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue