From 5be2952cc340b70aee026fc9a65a10bd6c5e52e0 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 14 Mar 2011 16:58:37 -0700 Subject: Use a buffer for debug console output (improves speed on Windows when console is enabled). Ported from Singularity, patch by Shyotl --- linden/indra/llvfs/lldir_win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/llvfs') 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() } else { - fprintf(stderr, "Couldn't get APP path, assuming current directory!"); + LL_WARNS("AppInit") << "Couldn't get APP path, assuming current directory!\n" << LL_ENDL; GetCurrentDirectory(MAX_PATH, w_str); mExecutableDir = utf16str_to_utf8str(llutf16string(w_str)); // Assume it's the current directory -- cgit v1.1