Vincent Povirk : gdiplus: Allow widening a "closed" line segment.
Alexandre Julliard
julliard at winehq.org
Fri Oct 14 13:46:53 CDT 2016
Module: wine
Branch: master
Commit: 96eac4876caee69e251b15b4dfdc0c43321a89c9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=96eac4876caee69e251b15b4dfdc0c43321a89c9
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Oct 13 16:23:13 2016 -0500
gdiplus: Allow widening a "closed" line segment.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 */
More information about the wine-cvs
mailing list