Re-try the logging fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5256d568e3
commit
8c44958e5a
@ -159,7 +159,7 @@ void Log::printMessage(int level, const char *component, const char *format,
|
||||
// Using a va_list twice produces undefined results, ie crash.
|
||||
// So make a copy if we're going to use it twice.
|
||||
VALIST copy;
|
||||
if (m_file_stdout && UserConfigParams::m_log_errors_to_console)
|
||||
if (m_file_stdout)
|
||||
{
|
||||
va_copy(copy, va_list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user