[PATCH] gdiplus: Fix misplaced parentheses.

Andrey Gusev andrey.goosev at gmail.com
Tue Oct 24 05:33:27 CDT 2017


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/gdiplus/metafile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c
index 91e18a55c8..e40487acff 100644
--- a/dlls/gdiplus/metafile.c
+++ b/dlls/gdiplus/metafile.c
@@ -2001,14 +2001,14 @@ static GpStatus METAFILE_PlaybackObject(GpMetafile *metafile, UINT flags, UINT d
 
         if (pendata->PenDataFlags & PenDataMiterLimit)
         {
-            if ((status = GdipSetPenMiterLimit(pen, *(REAL *)((BYTE *)pendata + offset)) != Ok))
+            if ((status = GdipSetPenMiterLimit(pen, *(REAL *)((BYTE *)pendata + offset))) != Ok)
                 goto penfailed;
             offset += sizeof(REAL);
         }
 
         if (pendata->PenDataFlags & PenDataLineStyle)
         {
-            if ((status = GdipSetPenDashStyle(pen, *(DWORD *)((BYTE *)pendata + offset)) != Ok))
+            if ((status = GdipSetPenDashStyle(pen, *(DWORD *)((BYTE *)pendata + offset))) != Ok)
                 goto penfailed;
             offset += sizeof(DWORD);
         }
-- 
2.13.6




More information about the wine-patches mailing list