11 Mar
2025
11 Mar
'25
3:39 p.m.
Jinoh Kang (@iamahuman) commented about dlls/ieframe/dochost.c:
return;
This->travellog.size = 4; - }else if(This->travellog.size < This->travellog.position+1) { + }else if(This->travellog.size <= This->travellog.position+1) {
```suggestion:-0+0 }else if(This->travellog.size < This->travellog.position+2) { ``` This looks more intuitive because it makes it clear we want to append 2 slots max. (Integer overflow is probably not a concern, and it is already a possibility.) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7544#note_97426