mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
[0.4.14][SHELL32] Allow creation of an empty CFileSysEnum
part of the fix for CORE-16908
This commit fixes a unittest crash in shell32:CFSFolder
introduced by the previous commits
cherry picked from commit 0.4.15-dev-279-g
83a9f71690
This commit is contained in:
parent
c8448b2d39
commit
efc990aa3d
1 changed files with 2 additions and 2 deletions
|
@ -460,8 +460,8 @@ public:
|
||||||
|
|
||||||
if (!sPathTarget || !sPathTarget[0])
|
if (!sPathTarget || !sPathTarget[0])
|
||||||
{
|
{
|
||||||
FAILED_UNEXPECTEDLY(E_INVALIDARG);
|
WARN("No path for CFileSysEnum, empty result!\n");
|
||||||
return E_INVALIDARG;
|
return S_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
WCHAR szFindPattern[MAX_PATH];
|
WCHAR szFindPattern[MAX_PATH];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue