[SHELL32] Follow up of #1085 (#1088)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sun, 2 Dec 2018 20:38:36 +0000 (05:38 +0900)
committerGitHub <noreply@github.com>
Sun, 2 Dec 2018 20:38:36 +0000 (05:38 +0900)
CORE-10481

dll/win32/shell32/dialogs/fprop.cpp

index 9433883..3338679 100644 (file)
@@ -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;