Module: wine Branch: master Commit: 96eac4876caee69e251b15b4dfdc0c43321a89c9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=96eac4876caee69e251b15b4df...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Oct 13 16:23:13 2016 -0500
gdiplus: Allow widening a "closed" line segment.
Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/gdiplus/graphicspath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 963ee1c..8ba0016 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -1888,7 +1888,7 @@ static void widen_closed_figure(GpPath *path, GpPen *pen, int start, int end, int i; path_list_node_t *prev_point;
- if (end <= start+1) + if (end <= start) return;
/* left outline */