mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:15:39 +00:00
wineps: Fix a couple of typos in the path painting function.
Thanks to Octavian Voicu.
This commit is contained in:
parent
3f74c581b8
commit
2cf3975dfc
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue