aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llvfs
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-03-14 16:58:37 -0700
committerMcCabe Maxsted2011-03-14 17:00:21 -0700
commit5be2952cc340b70aee026fc9a65a10bd6c5e52e0 (patch)
treeab84aea8a2f06b3db10f626aa7c3614db1dd2da2 /linden/indra/llvfs
parentAdded copy text button to Help > About Imprudence and tabbed the info. Ported... (diff)
downloadmeta-impy-5be2952cc340b70aee026fc9a65a10bd6c5e52e0.zip
meta-impy-5be2952cc340b70aee026fc9a65a10bd6c5e52e0.tar.gz
meta-impy-5be2952cc340b70aee026fc9a65a10bd6c5e52e0.tar.bz2
meta-impy-5be2952cc340b70aee026fc9a65a10bd6c5e52e0.tar.xz
Use a buffer for debug console output (improves speed on Windows when console is enabled). Ported from Singularity, patch by Shyotl
Diffstat (limited to 'linden/indra/llvfs')
-rw-r--r--linden/indra/llvfs/lldir_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llvfs/lldir_win32.cpp b/linden/indra/llvfs/lldir_win32.cpp
index 9d4c5ec..e5d6747 100644
--- a/linden/indra/llvfs/lldir_win32.cpp
+++ b/linden/indra/llvfs/lldir_win32.cpp
@@ -112,7 +112,7 @@ LLDir_Win32::LLDir_Win32()
112 } 112 }
113 else 113 else
114 { 114 {
115 fprintf(stderr, "Couldn't get APP path, assuming current directory!"); 115 LL_WARNS("AppInit") << "Couldn't get APP path, assuming current directory!\n" << LL_ENDL;
116 GetCurrentDirectory(MAX_PATH, w_str); 116 GetCurrentDirectory(MAX_PATH, w_str);
117 mExecutableDir = utf16str_to_utf8str(llutf16string(w_str)); 117 mExecutableDir = utf16str_to_utf8str(llutf16string(w_str));
118 // Assume it's the current directory 118 // Assume it's the current directory