[PATCH v2 1/5] d3dx9: Implement ID3DXFont_PreloadText.
Sven Baars
sbaars at codeweavers.com
Mon Mar 2 08:59:03 CST 2020
On 02-03-2020 15:20, Akihiro Sagawa wrote:
>> +
>> + MultiByteToWideChar(CP_ACP, 0, string, count < 0 ? -1 : count, wstr, countW);
>> +
>> + hr = ID3DXFont_PreloadTextW(iface, wstr, count);
> You want to use countW instead of count here.
>
> There are similar issues with ID3DXFontImpl_DrawTextA in PATCH 2/5.
>
> Regards,
> Akihiro Sagawa
>
Hi Akihiro,
Thanks for the comments. I could not exactly use countW there, but I
sent updated patches that address the issue.
Cheers,
Sven
More information about the wine-devel
mailing list