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:
parent
8d8ebc9641
commit
ef5a3ffe51
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue