[PATCH 1/5] d3dx9: Handle DT_SINGLELINE in ID3DXFont_DrawText.
Matteo Bruni
matteo.mystral at gmail.com
Fri Mar 13 11:20:48 CDT 2020
On Tue, Mar 10, 2020 at 11:22 AM Sven Baars <sbaars at codeweavers.com> wrote:
> @@ -617,6 +625,9 @@ static INT WINAPI ID3DXFontImpl_DrawTextW(ID3DXFont *iface, ID3DXSprite *sprite,
> if (format & DT_CALCRECT)
> format |= DT_NOCLIP;
>
> + if (format & DT_SINGLELINE)
> + format &= ~DT_WORDBREAK;
> +
I don't think we have a test for this specific case at the moment, it
would be nice to have one.
More information about the wine-devel
mailing list