13 Mar
2020
13 Mar
'20
4:21 p.m.
On Tue, Mar 10, 2020 at 11:38 AM Sven Baars <sbaars(a)codeweavers.com> wrote:
@@ -705,11 +706,24 @@ static INT WINAPI ID3DXFontImpl_DrawTextW(ID3DXFont *iface, ID3DXSprite *sprite, heap_free(results.lpCaretPos); heap_free(results.lpGlyphs); } + else if (size.cx > max_width) + { + max_width = size.cx; + }
I don't know if this is going to change afterwards but, currently, it seems to me that the "else if" condition is always true.