shell32: FOF_MULTIDESTFILES must be set when copying files into directory
Vitaly Perov
vitperov at etersoft.ru
Fri Oct 17 08:14:54 CDT 2008
-------------- next part --------------
From e2eec69ff86960bd6729a3105747310ce9c256fd Mon Sep 17 00:00:00 2001
From: Vitaly Perov <vitperov at etersoft.ru>
Date: Fri, 17 Oct 2008 16:56:46 +0400
Subject: [PATCH] shell32: FOF_MULTIDESTFILES must be set when copying files into directory
---
dlls/shell32/shlfileop.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 49f61d3..e6565ea 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -1382,6 +1382,7 @@ static void move_dir_to_dir(LPSHFILEOPSTRUCTW lpFileOp, const FILE_ENTRY *feFrom
fileOp = *lpFileOp;
fileOp.pFrom = szFrom;
fileOp.pTo = szTo;
+ fileOp.fFlags |= FOF_MULTIDESTFILES;
SHFileOperationW(&fileOp);
RemoveDirectoryW(feFrom->szFullPath);
--
1.5.6.5.GIT
More information about the wine-patches
mailing list