Nikolay Sivov : dwrite: Fix typo in SetStrikethrough().

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 1 07:50:09 CDT 2015


Module: wine
Branch: master
Commit: 1d815a2801f6a5f78ccb772138e19f1f5fcbae6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d815a2801f6a5f78ccb772138e19f1f5fcbae6d

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri May  1 11:33:24 2015 +0300

dwrite: Fix typo in SetStrikethrough().

---

 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 22fbbd3..5935918 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -1533,7 +1533,7 @@ static HRESULT WINAPI dwritetextlayout_SetStrikethrough(IDWriteTextLayout2 *ifac
     TRACE("(%p)->(%d %s)\n", This, strikethrough, debugstr_range(&range));
 
     value.range = range;
-    value.u.underline = strikethrough;
+    value.u.strikethrough = strikethrough;
     return set_layout_range_attr(This, LAYOUT_RANGE_ATTR_STRIKETHROUGH, &value);
 }
 




More information about the wine-cvs mailing list