mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 21:13:41 +00:00
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:
parent
70afb4ecd0
commit
2176348998
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue