28 Oct
2022
28 Oct
'22
6:31 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/pen.c:
return GdipSetSolidFillColor(((GpSolidFill*)pen->brush), argb); }
+GpStatus WINGDIPAPI GdipGetPenCompoundArray(GpPen *pen, REAL *compoundarray, INT count) +{ + TRACE("(%p, %p, %i)\n", pen, compoundarray, count); + + if (!pen || !compoundarray || count > pen->compound_array_size)
We should probably also check for count being negative. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1164#note_12396