27 Feb
2025
27 Feb
'25
2:30 p.m.
Rémi Bernon (@rbernon) commented about dlls/user32/tests/monitor.c:
{ if (infos[i].rect.left == 0 && infos[i].rect.top == 0) primary = infos[i].rect;
- if (info - infos + i) UnionRect( &scaled_virtual, &scaled_virtual, &infos[i].rect ); + if (info - (infos + i)) UnionRect( &scaled_virtual, &scaled_virtual, &infos[i].rect );
Not really sure to understand what the difference exactly is with / without the parentheses, but this could probably be `info != infos + i`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7435#note_96114