gdi32/dibdrv: don't add_join if points are coincident in wide_line_segments (try 2)

Daniel Lehman dlehman at esri.com
Fri Apr 13 11:38:38 CDT 2012


Was mistakenly sent to wine-devel

try 2 - integrate into existing tests; updated commit message

I think the only points in the middle of the points array can cause the crash I was seeing.  wide_pen_lines trims coincident points/empty segments from the beginning and end of the array, so the wine_line_segment calls before and after the for loop I modified will always return valid faces
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-gdi32-dibdrv-don-t-add_join-if-points-are-coincident.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120413/50de3003/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120413/50de3003/attachment-0003.txt>


More information about the wine-patches mailing list