gdiplus: Avoid infinite recursion in flatten_bezier().
commita3f0a5913299d675426e039b5f1d794993144fbf
authorKen Thomases <ken@codeweavers.com>
Mon, 24 Apr 2017 18:16:08 +0000 (24 13:16 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Apr 2017 06:45:10 +0000 (25 08:45 +0200)
tree64189b2cfcfb9ccc65ce7544d1cadbe1513d05c7
parent5ff2fdc452c4b5560ab363e2c51f3ac6dba3c703
gdiplus: Avoid infinite recursion in flatten_bezier().

If either of the recursive calls would have the same x2, y2, x3, and y3
arguments as the current call, the path is as flat as the precision of floats
allows.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/gdiplus/graphicspath.c