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

Directory: Fix wrong path being passed when probing files

parent a0324717
......@@ -117,7 +117,7 @@ void Directory::read()
{
#else
struct stat s;
if ( lstat( result->d_name, &s ) != 0 )
if ( lstat( path.c_str(), &s ) != 0 )
{
std::string err( "Failed to get file info " );
err += 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