summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llfilesystem/lldir.cpp')
-rwxr-xr-xindra/llfilesystem/lldir.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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());
}
}
}