Skip to content
Snippets Groups Projects
Commit 83e0ee0f authored by Richard Linden's avatar Richard Linden
Browse files

fixed full path not appearing in debug output for param block errors by using...

fixed full path not appearing in debug output for param block errors by using full path for LLDir::mAppRODataDir
parent 3918b251
Branches
Tags
No related merge requests found
...@@ -116,10 +116,6 @@ LLDir_Win32::LLDir_Win32() ...@@ -116,10 +116,6 @@ LLDir_Win32::LLDir_Win32()
mExecutableDir = utf16str_to_utf8str(llutf16string(w_str)); mExecutableDir = utf16str_to_utf8str(llutf16string(w_str));
#endif #endif
mAppRODataDir = ".";
mSkinBaseDir = mAppRODataDir + mDirDelimiter + "skins";
if (mExecutableDir.find("indra") == std::string::npos) if (mExecutableDir.find("indra") == std::string::npos)
{ {
// Running from installed directory. Make sure current // Running from installed directory. Make sure current
...@@ -129,8 +125,12 @@ LLDir_Win32::LLDir_Win32() ...@@ -129,8 +125,12 @@ LLDir_Win32::LLDir_Win32()
GetCurrentDirectory(MAX_PATH, w_str); GetCurrentDirectory(MAX_PATH, w_str);
mWorkingDir = utf16str_to_utf8str(llutf16string(w_str)); mWorkingDir = utf16str_to_utf8str(llutf16string(w_str));
} }
mAppRODataDir = mWorkingDir;
llinfos << "mAppRODataDir = " << mAppRODataDir << llendl; llinfos << "mAppRODataDir = " << mAppRODataDir << llendl;
mSkinBaseDir = mAppRODataDir + mDirDelimiter + "skins";
// Build the default cache directory // Build the default cache directory
mDefaultCacheDir = buildSLOSCacheDir(); mDefaultCacheDir = buildSLOSCacheDir();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment