gdiplus: Fix misplaced parentheses.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2017-10-24 13:33:27 +03:00 committed by Alexandre Julliard
parent 8d8ebc9641
commit ef5a3ffe51
1 changed files with 2 additions and 2 deletions

View File

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