Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
e9f503ef
Commit
e9f503ef
authored
Jun 22, 2018
by
Hugo Beauzée-Luyssen
Browse files
fs: win32: Directory: Fix subfolder creation
parent
f2654961
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filesystem/win32/Directory.cpp
View file @
e9f503ef
...
...
@@ -75,8 +75,8 @@ void Directory::read() const
continue
;
auto
fullpath
=
m_path
+
file
.
get
();
if
(
(
f
.
dwFileAttributes
&
FILE_ATTRIBUTE_DIRECTORY
)
!=
0
)
m_dirs
.
emplace_back
(
m_fsFactory
.
createDirectory
(
m_path
+
utils
::
url
::
encode
(
f
ullpath
)
)
);
m_dirs
.
emplace_back
(
m_fsFactory
.
createDirectory
(
m_mrl
+
utils
::
url
::
encode
(
f
ile
.
get
()
)
)
);
else
m_files
.
emplace_back
(
std
::
make_shared
<
File
>
(
fullpath
)
);
}
while
(
FindNextFile
(
h
,
&
f
)
!=
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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