13 Aug
2024
13 Aug
'24
8:05 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/graphics.c:
if (scaled_rect.Width >= 0.5) { scaled_rect.Width -= margin_x * 2.0 * args.rel_width; - if (scaled_rect.Width < 0.5) return Ok; /* doesn't fit */ + if (scaled_rect.Width < 0.5) + { + status = Ok; /* doesn't fit */
This is a dead assignment (`status` is never checked at the end). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6264#note_78588