Commit af53a89d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

fs: win32: Fix UWP directory creation

(cherry picked from commit 56b864ac)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 2c4243b5
...@@ -135,7 +135,7 @@ void Directory::read() const ...@@ -135,7 +135,7 @@ void Directory::read() const
if ( file[0] == '.' && strcasecmp( file.get(), ".nomedia" ) ) if ( file[0] == '.' && strcasecmp( file.get(), ".nomedia" ) )
continue; continue;
if ( ( dirInfo->FileAttributes & FILE_ATTRIBUTE_DIRECTORY ) != 0 ) if ( ( dirInfo->FileAttributes & FILE_ATTRIBUTE_DIRECTORY ) != 0 )
m_dirs.emplace_back( m_fsFactory.createDirectory( m_mrl + utils::url::encode( file.get() ) ) ); m_dirs.emplace_back( m_fsFactory.createDirectory( m_path + utils::url::encode( file.get() ) ) );
else else
m_files.emplace_back( std::make_shared<File>( m_path + file.get()) ); m_files.emplace_back( std::make_shared<File>( m_path + file.get()) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment