diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-05-25 18:09:52 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-05-25 18:09:52 +0300 |
commit | bb8609fa9408f206142b5c67983c7d0fd1876b19 (patch) | |
tree | cbb6dd809874d44f79184cbb83ad1a582845b00a | |
parent | 561cee12d8d3c456d71efae3b711dbf5115c66f5 (diff) |
MAINT-5100 Fixed viewer not finding sky files at login
-rw-r--r-- | indra/llvfs/lldiriterator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llvfs/lldiriterator.cpp b/indra/llvfs/lldiriterator.cpp index 76296ff877..3eb64e69d9 100644 --- a/indra/llvfs/lldiriterator.cpp +++ b/indra/llvfs/lldiriterator.cpp @@ -51,7 +51,11 @@ private: LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask) : mIsValid(false) { +#ifdef LL_WINDOWS // or BOOST_WINDOWS_API + fs::path dir_path(utf8str_to_utf16str(dirname)); +#else fs::path dir_path(dirname); +#endif bool is_dir = false; |