diff options
Diffstat (limited to 'linden/indra/llui/llui.cpp')
-rw-r--r-- | linden/indra/llui/llui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/llui.cpp b/linden/indra/llui/llui.cpp index d2084e3..11889be 100644 --- a/linden/indra/llui/llui.cpp +++ b/linden/indra/llui/llui.cpp | |||
@@ -1671,13 +1671,13 @@ LLString LLUI::locateSkin(const LLString& filename) | |||
1671 | localization = sConfigGroup->getString("SystemLanguage"); | 1671 | localization = sConfigGroup->getString("SystemLanguage"); |
1672 | } | 1672 | } |
1673 | LLString local_skin = "xui" + slash + localization + slash + filename; | 1673 | LLString local_skin = "xui" + slash + localization + slash + filename; |
1674 | found_file = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, local_skin); | 1674 | found_file = gDirUtilp->findSkinnedFilename(local_skin); |
1675 | } | 1675 | } |
1676 | } | 1676 | } |
1677 | if (!gDirUtilp->fileExists(found_file)) | 1677 | if (!gDirUtilp->fileExists(found_file)) |
1678 | { | 1678 | { |
1679 | LLString local_skin = "xui" + slash + "en-us" + slash + filename; | 1679 | LLString local_skin = "xui" + slash + "en-us" + slash + filename; |
1680 | found_file = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, local_skin); | 1680 | found_file = gDirUtilp->findSkinnedFilename(local_skin); |
1681 | } | 1681 | } |
1682 | if (!gDirUtilp->fileExists(found_file)) | 1682 | if (!gDirUtilp->fileExists(found_file)) |
1683 | { | 1683 | { |