Pass dtp parameter on from DrawTextExA to DrawTextExW.
This commit is contained in:
parent
3dc71b65a7
commit
d1632bf652
|
@ -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
|
* 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 New Issue