Commit 2cf3975d authored by Alexandre Julliard's avatar Alexandre Julliard

wineps: Fix a couple of typos in the path painting function.

Thanks to Octavian Voicu.
parent 3f74c581
......@@ -540,11 +540,11 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill )
if (!points || !types) goto done;
if (GetPath( dev->hdc, points, types, size ) == -1) goto done;
if (fill) PSDRV_SetPen(dev);
if (stroke) PSDRV_SetPen(dev);
PSDRV_SetClip(dev);
for (i = 0; i < size; i++)
{
switch (types[i] & ~PT_CLOSEFIGURE)
switch (types[i])
{
case PT_MOVETO:
PSDRV_WriteMoveTo( dev, points[i].x, points[i].y );
......
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