dwrite: Only invalidate lines if line spacing changed.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-07-25 11:42:55 +03:00 committed by Alexandre Julliard
parent 9ec714db5d
commit 32c1ef019a
1 changed files with 1 additions and 1 deletions

View File

@ -3661,7 +3661,7 @@ static HRESULT WINAPI dwritetextlayout3_SetLineSpacing(IDWriteTextLayout3 *iface
return hr;
if (changed)
This->recompute = RECOMPUTE_EVERYTHING;
This->recompute = RECOMPUTE_LINES;
return S_OK;
}