commit | c86f2c29ff6fbb7a3437b599b68b04d035f649ad | [log] [tgz] |
---|---|---|
author | Royal Chan <chanroyal@gmail.com> | Sun Feb 10 12:40:52 2008 -0800 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Feb 15 11:39:35 2008 +0100 |
tree | 8ee76fb2483cbf878d497db6611c4b3ed396f889 | |
parent | be784ba1c5c084af94735e87b31d1fa0c33d379b [diff] [blame] |
gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls.
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 684a3b4..aed61c5 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c
@@ -505,7 +505,8 @@ transform_and_round_points(graphics, pti, ptcopy, count); - Polyline(graphics->hdc, pti, count); + if(Polyline(graphics->hdc, pti, count)) + status = Ok; end: GdipFree(pti);