[PATCH 2/4] dwrite: Only invalidate lines if line spacing changed

Nikolay Sivov nsivov at codeweavers.com
Mon Jul 25 03:42:55 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dwrite/layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c
index 67f6fe2..09fe360 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -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;
 }
-- 
2.8.1




More information about the wine-patches mailing list