aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llvfs/lldir_win32.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:27:37 -0500
committerJacek Antonelli2008-09-06 18:27:41 -0500
commitd78e22887482056e9e29cccf2b7a8a675035d040 (patch)
treea0e0fde1b1a8f91d66c3eb84871b0a3c34947419 /linden/indra/llvfs/lldir_win32.cpp
parentSecond Life viewer sources 1.21.0-RC (diff)
downloadmeta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.zip
meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.gz
meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.bz2
meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.xz
Second Life viewer sources 1.21.1-RC
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()