aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llvfs/lldir_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llvfs/lldir_win32.cpp')
-rw-r--r--linden/indra/llvfs/lldir_win32.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/llvfs/lldir_win32.cpp b/linden/indra/llvfs/lldir_win32.cpp
index 99d5e18..9cb9721 100644
--- a/linden/indra/llvfs/lldir_win32.cpp
+++ b/linden/indra/llvfs/lldir_win32.cpp
@@ -117,15 +117,13 @@ LLDir_Win32::LLDir_Win32()
117 mExecutableDir = utf16str_to_utf8str(llutf16string(w_str)); 117 mExecutableDir = utf16str_to_utf8str(llutf16string(w_str));
118#endif 118#endif
119 119
120 mAppRODataDir = getCurPath(); 120 // When running in a dev tree, app_settings is under indra/newview/
121 // *FIX:Mani - The following is the old way we did things. I'm keeping this around 121 // but in production it is under Program Files/SecondLife/
122 // in case there is some really good reason to make mAppRODataDir == mExecutableDir 122 // Attempt to detect which one we're using. JC
123 /* 123 if (mExecutableDir.find("indra") != std::string::npos)
124 if (strstr(mExecutableDir.c_str(), "indra\\newview"))
125 mAppRODataDir = getCurPath(); 124 mAppRODataDir = getCurPath();
126 else 125 else
127 mAppRODataDir = mExecutableDir; 126 mAppRODataDir = mExecutableDir;
128 */
129} 127}
130 128
131LLDir_Win32::~LLDir_Win32() 129LLDir_Win32::~LLDir_Win32()