shell32: Correctly compare result of SHFileOperation in UNIXFS copy/delete functions.
Signed-off-by: Michael Müller <michael@fds-team.de> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8e2db1dfe1
commit
b05aa34f63
|
@ -847,7 +847,7 @@ static HRESULT UNIXFS_copy(LPCWSTR pwszDosSrc, LPCWSTR pwszDosDst)
|
|||
op.pFrom = pwszSrc;
|
||||
op.pTo = pwszDst;
|
||||
op.fFlags = FOF_ALLOWUNDO;
|
||||
if (!SHFileOperationW(&op))
|
||||
if (SHFileOperationW(&op))
|
||||
{
|
||||
WARN("SHFileOperationW failed\n");
|
||||
res = E_FAIL;
|
||||
|
@ -1981,7 +1981,7 @@ static HRESULT UNIXFS_delete_with_shfileop(UnixFolder *This, UINT cidl, const LP
|
|||
op.wFunc = FO_DELETE;
|
||||
op.pFrom = wszPathsList;
|
||||
op.fFlags = FOF_ALLOWUNDO;
|
||||
if (!SHFileOperationW(&op))
|
||||
if (SHFileOperationW(&op))
|
||||
{
|
||||
WARN("SHFileOperationW failed\n");
|
||||
ret = E_FAIL;
|
||||
|
|
Loading…
Reference in New Issue