Piotr Caban : gdiplus: Return success saving path to metafile.
Module: wine Branch: master Commit: 21763489982177f4db9e5f8cc8ccb751441f5a2e URL: http://source.winehq.org/git/wine.git/?a=commit;h=21763489982177f4db9e5f8cc8... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Mon Jul 24 16:54:11 2017 +0200 gdiplus: Return success saving path to metafile. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/gdiplus/metafile.c | 2 +- dlls/gdiplus/tests/metafile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c index 063e565..99e5483 100644 --- a/dlls/gdiplus/metafile.c +++ b/dlls/gdiplus/metafile.c @@ -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) diff --git a/dlls/gdiplus/tests/metafile.c b/dlls/gdiplus/tests/metafile.c index aa32276..3b6bced 100644 --- a/dlls/gdiplus/tests/metafile.c +++ b/dlls/gdiplus/tests/metafile.c @@ -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);
participants (1)
-
Alexandre Julliard