Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
000eddbc
Commit
000eddbc
authored
Aug 22, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Don't add the directory name twice when recursing into subdirectories.
parent
d1282dce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
shlfileop.c
dlls/shell32/shlfileop.c
+6
-5
No files found.
dlls/shell32/shlfileop.c
View file @
000eddbc
...
...
@@ -958,17 +958,18 @@ static void copy_dir_to_dir(LPSHFILEOPSTRUCTW lpFileOp, FILE_ENTRY *feFrom, LPWS
/* copy a file or directory to another directory */
static
void
copy_to_dir
(
LPSHFILEOPSTRUCTW
lpFileOp
,
FILE_ENTRY
*
feFrom
,
FILE_ENTRY
*
feTo
)
{
WCHAR
szDestPath
[
MAX_PATH
];
if
(
!
PathFileExistsW
(
feTo
->
szFullPath
))
SHNotifyCreateDirectoryW
(
feTo
->
szFullPath
,
NULL
);
PathCombineW
(
szDestPath
,
feTo
->
szFullPath
,
feFrom
->
szFilename
);
if
(
IsAttribFile
(
feFrom
->
attributes
))
{
WCHAR
szDestPath
[
MAX_PATH
];
PathCombineW
(
szDestPath
,
feTo
->
szFullPath
,
feFrom
->
szFilename
);
SHNotifyCopyFileW
(
feFrom
->
szFullPath
,
szDestPath
,
FALSE
);
}
else
if
(
!
(
lpFileOp
->
fFlags
&
FOF_FILESONLY
&&
feFrom
->
bFromWildcard
))
copy_dir_to_dir
(
lpFileOp
,
feFrom
,
szDest
Path
);
copy_dir_to_dir
(
lpFileOp
,
feFrom
,
feTo
->
szFull
Path
);
}
static
void
create_dest_dirs
(
LPWSTR
szDestDir
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment