Now using a buffer for debug console output. No longer bog-slow on windows if the console is enabled.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user