https://git.reactos.org/?p=reactos.git;a=commitdiff;h=623b2e153eb0cb6ddf315…
commit 623b2e153eb0cb6ddf31525073a2f949afda475c
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Dec 3 05:38:36 2018 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Dec 3 05:38:36 2018 +0900
[SHELL32] Follow up of #1085 (#1088)
CORE-10481
---
dll/win32/shell32/dialogs/fprop.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dll/win32/shell32/dialogs/fprop.cpp b/dll/win32/shell32/dialogs/fprop.cpp
index 9433883cfd..33386794ae 100644
--- a/dll/win32/shell32/dialogs/fprop.cpp
+++ b/dll/win32/shell32/dialogs/fprop.cpp
@@ -74,7 +74,7 @@ class CStubWindow32 : public CWindowImpl<CStubWindow32>
public:
DECLARE_WND_CLASS_EX(_T("StubWindow32"), 0, COLOR_WINDOWTEXT)
- BEGIN_MSG_MAP(CPaletteWindow)
+ BEGIN_MSG_MAP(CStubWindow32)
END_MSG_MAP()
};
@@ -119,7 +119,10 @@ SH_ShowPropertiesDialog(LPCWSTR pwszPath, LPCITEMIDLIST pidlFolder,
PCUITEMID_CH
DWORD exstyle = WS_EX_WINDOWEDGE | WS_EX_APPWINDOW;
CStubWindow32 stub;
if (!stub.Create(NULL, NULL, NULL, style, exstyle))
+ {
+ ERR("StubWindow32 creation failed\n");
return E_FAIL;
+ }
/* Handle files and folders */
PROPSHEETHEADERW Header;