https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f0c20caf32eedd8277a74830a44e5d4065a47310

commit f0c20caf32eedd8277a74830a44e5d4065a47310
Author:     Thamatip Chitpong <[email protected]>
AuthorDate: Fri Dec 9 20:00:24 2022 +0700
Commit:     GitHub <[email protected]>
CommitDate: Fri Dec 9 16:00:24 2022 +0300

    [SHELL32] Fix My Documents properties (#4906)
    
    Tell the caller to run default action by returning S_FALSE in else case.
    
    CORE-17509
---
 dll/win32/shell32/folders/CRegFolder.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dll/win32/shell32/folders/CRegFolder.cpp 
b/dll/win32/shell32/folders/CRegFolder.cpp
index 9792e0568f3..11652661f01 100644
--- a/dll/win32/shell32/folders/CRegFolder.cpp
+++ b/dll/win32/shell32/folders/CRegFolder.cpp
@@ -82,6 +82,11 @@ HRESULT CALLBACK RegFolderContextMenuCallback(IShellFolder 
*psf,
         if (!SH_ShowRecycleBinProperties(L'C'))
             hr = E_FAIL;
     }
+    else
+    {
+        /* Tell the caller to run the default action */
+        hr = S_FALSE;
+    }
 
     SHFree(pidlFolder);
     _ILFreeaPidl(apidl, cidl);

Reply via email to