http://bugs.winehq.org/show_bug.cgi?id=36876
Bug ID: 36876 Summary: Incorrect check for bad points in draw_poly() Product: Wine Version: 1.7.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: maksqwe1@ukr.net
graphics.c 1751
if((i + 2 >= count) || !(types[i + 1] & PathPointTypeBezier) || !(types[i + 1] & PathPointTypeBezier)) {
I think should be: if((i + 2 >= count) || !(types[i + 1] & PathPointTypeBezier) || !(types[i + 2] & PathPointTypeBezier)) {