Piotr Caban : gdiplus: Return success saving path to metafile.
Alexandre Julliard
julliard at winehq.org
Mon Jul 24 15:51:21 CDT 2017
Module: wine
Branch: master
Commit: 21763489982177f4db9e5f8cc8ccb751441f5a2e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21763489982177f4db9e5f8cc8ccb751441f5a2e
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Jul 24 16:54:11 2017 +0200
gdiplus: Return success saving path to metafile.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
More information about the wine-cvs
mailing list