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
a9c00c66
Commit
a9c00c66
authored
Dec 13, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Dec 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Allow paths with spaces.
parent
aa026e06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
winefile.c
programs/winefile/winefile.c
+10
-2
No files found.
programs/winefile/winefile.c
View file @
a9c00c66
...
...
@@ -1323,9 +1323,17 @@ static ChildWnd* alloc_child_window(LPCWSTR path, LPITEMIDLIST pidl, HWND hwnd)
if
(
path
)
{
lstrcpyW
(
child
->
path
,
path
);
int
pathlen
=
strlenW
(
path
);
const
WCHAR
*
npath
=
path
;
_wsplitpath
(
path
,
drv
,
dir
,
name
,
ext
);
if
(
path
[
0
]
==
'"'
&&
path
[
pathlen
-
1
]
==
'"'
)
{
npath
++
;
pathlen
--
;
}
lstrcpynW
(
child
->
path
,
npath
,
pathlen
+
1
);
_wsplitpath
(
child
->
path
,
drv
,
dir
,
name
,
ext
);
}
lstrcpyW
(
child
->
filter_pattern
,
sAsterics
);
...
...
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