[Scummvm-git-logs] scummvm master -> f2f247d3d0ee5457172d2090dfc880c8fbc02237
dreammaster
noreply at scummvm.org
Sun Dec 7 02:42:34 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f2f247d3d0 BAGEL: MFC: Remove now redundant use-after-free MSVC check
Commit: f2f247d3d0ee5457172d2090dfc880c8fbc02237
https://github.com/scummvm/scummvm/commit/f2f247d3d0ee5457172d2090dfc880c8fbc02237
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-12-06T18:42:15-08:00
Commit Message:
BAGEL: MFC: Remove now redundant use-after-free MSVC check
Changed paths:
engines/bagel/mfc/libs/event_loop.cpp
diff --git a/engines/bagel/mfc/libs/event_loop.cpp b/engines/bagel/mfc/libs/event_loop.cpp
index 010e6848ea7..2cb75ada5ac 100644
--- a/engines/bagel/mfc/libs/event_loop.cpp
+++ b/engines/bagel/mfc/libs/event_loop.cpp
@@ -356,7 +356,7 @@ bool EventLoop::PostMessage(HWND hWnd, unsigned int Msg,
// so we can ignore the WM_PARENTNOTIFY on closure
return false;
- assert((hWnd || Msg == WM_QUIT) && hWnd != (HWND)0xdddddddd);
+ assert(hWnd || Msg == WM_QUIT);
_messages.push(MSG(hWnd, Msg, wParam, lParam));
return true;
}
More information about the Scummvm-git-logs
mailing list