Commit ef5a3ffe authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

gdiplus: Fix misplaced parentheses.

parent 8d8ebc96
...@@ -2001,14 +2001,14 @@ static GpStatus METAFILE_PlaybackObject(GpMetafile *metafile, UINT flags, UINT d ...@@ -2001,14 +2001,14 @@ static GpStatus METAFILE_PlaybackObject(GpMetafile *metafile, UINT flags, UINT d
if (pendata->PenDataFlags & PenDataMiterLimit) if (pendata->PenDataFlags & PenDataMiterLimit)
{ {
if ((status = GdipSetPenMiterLimit(pen, *(REAL *)((BYTE *)pendata + offset)) != Ok)) if ((status = GdipSetPenMiterLimit(pen, *(REAL *)((BYTE *)pendata + offset))) != Ok)
goto penfailed; goto penfailed;
offset += sizeof(REAL); offset += sizeof(REAL);
} }
if (pendata->PenDataFlags & PenDataLineStyle) if (pendata->PenDataFlags & PenDataLineStyle)
{ {
if ((status = GdipSetPenDashStyle(pen, *(DWORD *)((BYTE *)pendata + offset)) != Ok)) if ((status = GdipSetPenDashStyle(pen, *(DWORD *)((BYTE *)pendata + offset))) != Ok)
goto penfailed; goto penfailed;
offset += sizeof(DWORD); offset += sizeof(DWORD);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment