dwrite: Remove existing effective runs before evaluating them again.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c32a19f198
commit
e9ff71f62b
|
@ -1740,6 +1740,8 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout)
|
|||
if (!(layout->recompute & RECOMPUTE_LINES))
|
||||
return S_OK;
|
||||
|
||||
free_layout_eruns(layout);
|
||||
|
||||
hr = layout_compute(layout);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
|
Loading…
Reference in New Issue