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