From d638145520f13f6f906c1c1bfb23738b18bf384b Mon Sep 17 00:00:00 2001 From: brunoherbelin Date: Wed, 1 Jul 2020 21:48:06 +0200 Subject: [PATCH] bugfix list directory (return list with full filename) --- SystemToolkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SystemToolkit.cpp b/SystemToolkit.cpp index 86ce026..05bb10d 100644 --- a/SystemToolkit.cpp +++ b/SystemToolkit.cpp @@ -172,7 +172,7 @@ list SystemToolkit::list_directory(const string& path, const string& fil { string filename = string(ent->d_name); if ( extension_filename(filename) == filter) - ls.push_back( filename ); + ls.push_back( full_filename(path, filename) ); } } closedir (dir);