8 Aug
2024
8 Aug
'24
10:53 a.m.
Huw Davies (@huw) commented about dlls/gdi32/enhmetafile.c:
case EMR_SELECTOBJECT: { const EMRSELECTOBJECT *pSelectObject = (const EMRSELECTOBJECT *)mr; + if (pSelectObject->ihObject >= info->header->nHandles) break;
Can't we compare to `handles` instead? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6198#note_78089