https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d74bc4b46ffcf5d06ef4…
commit 8d74bc4b46ffcf5d06ef44b0117eb7b10b8f5eeb
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Sep 20 00:04:45 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Wed Sep 20 00:04:45 2023 +0900
[ATL] CImage: Follow-up to #5702 (5da3ed6)
Fix the return value of CImage::Detach. CORE-19008
---
sdk/lib/atl/atlimage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/atl/atlimage.h b/sdk/lib/atl/atlimage.h
index 84c6d63e511..21d5752280d 100644
--- a/sdk/lib/atl/atlimage.h
+++ b/sdk/lib/atl/atlimage.h
@@ -65,7 +65,7 @@ public:
HBITMAP Detach() noexcept
{
- m_hOldBitmap = m_hBitmap = NULL;
+ m_hOldBitmap = NULL;
m_nWidth = m_nHeight = m_nPitch = m_nBPP = 0;
m_pBits = NULL;