Andrey Gusev : gdiplus: Fix misplaced parentheses.

Alexandre Julliard julliard at winehq.org
Tue Oct 24 15:36:43 CDT 2017


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Tue Oct 24 13:33:27 2017 +0300

gdiplus: Fix misplaced parentheses.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 91e18a5..e40487a 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);
         }




More information about the wine-cvs mailing list