Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/region.c:
- int i, subpath_start=0;
- for (i=1; i < path->pathdata.Count && stat == Ok; i++) {
hdc = new_hdc = CreateCompatibleDC(0);
if (!new_hdc)
return OutOfMemory;
BYTE type = path->pathdata.Types[i];
if ((type&PathPointTypePathTypeMask) == PathPointTypeStart)
subpath_start = i;
stat = GdipCreateFromHDC(new_hdc, &new_graphics);
graphics = new_graphics;
if (stat != Ok)
if ((type&PathPointTypePathTypeMask) == PathPointTypeLine)
```suggestion:-0+0 if ((type & PathPointTypePathTypeMask) == PathPointTypeLine) ``` as it is in line: 1097