http://bugs.winehq.org/show_bug.cgi?id=58203
--- Comment #8 from Esme Povirk madewokherd@gmail.com --- Are endpoint and nextpoint precisely equal? Perhaps another approach would be to filter out any 0-length line segments in GdipWidenPath by removing points, before or in the loop over them.