https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4f83032a1290fed0c5f11…
commit 4f83032a1290fed0c5f11b7a21d1dea0d0570755
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Mar 11 17:18:43 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Mar 11 17:18:43 2021 +0900
[ATL] Split CWindowImplBaseT::WindowProc asserion
CORE-9281
---
sdk/lib/atl/atlwin.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sdk/lib/atl/atlwin.h b/sdk/lib/atl/atlwin.h
index 2df36b612ee..71d28fe2989 100644
--- a/sdk/lib/atl/atlwin.h
+++ b/sdk/lib/atl/atlwin.h
@@ -1578,7 +1578,9 @@ public:
BOOL handled;
LONG_PTR saveWindowProc;
- ATLASSERT(pThis != NULL && (pThis->m_dwState & WINSTATE_DESTROYED)
== 0 && pThis->m_hWnd != NULL);
+ ATLASSERT(pThis != NULL);
+ ATLASSERT((pThis->m_dwState & WINSTATE_DESTROYED) == 0);
+ ATLASSERT(pThis->m_hWnd != NULL);
if (pThis == NULL || (pThis->m_dwState & WINSTATE_DESTROYED) != 0 ||
pThis->m_hWnd == NULL)
return 0;