mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 11:57:25 +00:00
cb0db51091
Fixes out of bounds memory access when closing a window that overlaps with the menu bar at the top of the screen. This crashed at least some release builds, including Windows release 2.8.1. Mixed-Up Mother Goose is the only game known to draw a text window over the menu bar. When I recently added support for this, I missed that the code for closing the window needed to be updated too: bc8550ce02a036e3757d817e963e038463844412 Fixes bug #15241 Big thanks to @hugoarpin for reporting this and testing the fix.