diff --git a/dll/win32/shell32/folders/CFSFolder.cpp b/dll/win32/shell32/folders/CFSFolder.cpp index a97ad5d4980..918ba8f5ff2 100644 --- a/dll/win32/shell32/folders/CFSFolder.cpp +++ b/dll/win32/shell32/folders/CFSFolder.cpp @@ -460,8 +460,8 @@ public: if (!sPathTarget || !sPathTarget[0]) { - FAILED_UNEXPECTEDLY(E_INVALIDARG); - return E_INVALIDARG; + WARN("No path for CFileSysEnum, empty result!\n"); + return S_FALSE; } WCHAR szFindPattern[MAX_PATH];