summaryrefslogtreecommitdiff
path: root/indra/llui/llui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llui.cpp')
-rw-r--r--indra/llui/llui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index ac263250ff..2b6895aa09 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -1666,13 +1666,13 @@ std::string LLUI::locateSkin(const std::string& filename)
localization = sConfigGroup->getString("SystemLanguage");
}
std::string local_skin = "xui" + slash + localization + slash + filename;
- found_file = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, local_skin);
+ found_file = gDirUtilp->findSkinnedFilename(local_skin);
}
}
if (!gDirUtilp->fileExists(found_file))
{
std::string local_skin = "xui" + slash + "en-us" + slash + filename;
- found_file = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, local_skin);
+ found_file = gDirUtilp->findSkinnedFilename(local_skin);
}
if (!gDirUtilp->fileExists(found_file))
{