diff options
author | McCabe Maxsted | 2011-03-14 16:58:37 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-03-14 17:00:21 -0700 |
commit | 5be2952cc340b70aee026fc9a65a10bd6c5e52e0 (patch) | |
tree | ab84aea8a2f06b3db10f626aa7c3614db1dd2da2 /linden/indra/llvfs | |
parent | Added copy text button to Help > About Imprudence and tabbed the info. Ported... (diff) | |
download | meta-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.cpp | 2 |
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 |