Now using a buffer for debug console output. No longer bog-slow on windows if the console is enabled.

This commit is contained in:
Shyotl
2011-02-28 01:38:05 -06:00
parent 56f4fb3d55
commit 8c0fb1261c
4 changed files with 7 additions and 2 deletions

View File

@@ -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