Nikolay Sivov : usp10: Remove extra parentheses.

Alexandre Julliard julliard at winehq.org
Fri Dec 14 11:57:12 CST 2018


Module: wine
Branch: master
Commit: eda3a3e37da79fcdf97c472f9bbe7406606b4668
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=eda3a3e37da79fcdf97c472f9bbe7406606b4668

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Dec 14 02:55:39 2018 +0300

usp10: Remove extra parentheses.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/usp10/usp10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index a05de98..abc2605 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -3712,7 +3712,7 @@ HRESULT WINAPI ScriptGetGlyphABCWidth(HDC hdc, SCRIPT_CACHE *psc, WORD glyph, AB
     if (!get_cache_glyph_widths(psc, glyph, abc))
     {
         if (!hdc) return E_PENDING;
-        if ((get_cache_pitch_family(psc) & TMPF_TRUETYPE))
+        if (get_cache_pitch_family(psc) & TMPF_TRUETYPE)
         {
             if (!GetCharABCWidthsI(hdc, 0, 1, &glyph, abc)) return S_FALSE;
         }




More information about the wine-cvs mailing list