From 15f9886ee779b2d014f4a386eac34700b3014bec Mon Sep 17 00:00:00 2001 From: Frederick Martian Date: Sat, 29 Nov 2025 15:46:48 +0100 Subject: The returned vector should only contain filenames, not the entire paths --- indra/llfilesystem/lldir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp index 4c51cc12ab..d36df99c14 100755 --- a/indra/llfilesystem/lldir.cpp +++ b/indra/llfilesystem/lldir.cpp @@ -106,7 +106,7 @@ std::vector LLDir::getFilesInDir(const std::string &dirname) { if (std::filesystem::is_regular_file(dir_itr->status())) { - v.push_back(dir_itr->path().string()); + v.push_back(dir_itr->path().filename().string()); } } } -- cgit v1.3