gdiplus: Return success saving path to metafile.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-07-24 16:54:11 +02:00 committed by Alexandre Julliard
parent 70afb4ecd0
commit 2176348998
2 changed files with 2 additions and 2 deletions

View file

@ -2937,7 +2937,7 @@ GpStatus METAFILE_DrawPath(GpMetafile *metafile, GpPen *pen, GpPath *path)
draw_path_record->PenId = pen_id;
METAFILE_WriteRecords(metafile);
return NotImplemented;
return Ok;
}
static GpStatus METAFILE_AddBrushObject(GpMetafile *metafile, GpBrush *brush, DWORD *id)

View file

@ -2651,7 +2651,7 @@ static void test_drawpath(void)
expect(Ok, stat);
stat = GdipDrawPath(graphics, pen, path);
todo_wine expect(Ok, stat);
expect(Ok, stat);
stat = GdipDeletePen(pen);
expect(Ok, stat);