Commit 18ae38e0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

fs: win32: Fix .nomedia files being ignored

parent 58affd32
......@@ -71,7 +71,7 @@ void Directory::read() const
do
{
auto file = charset::FromWide( f.cFileName );
if ( file[0] == '.' )
if ( file[0] == '.' && strcasecmp( file.get(), ".nomedia" ) )
continue;
if ( ( f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) != 0 )
m_dirs.emplace_back( m_fsFactory.createDirectory( m_path +
......
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