From 8c44958e5ae9c65ba5b5b6dc228a52863fcb951f Mon Sep 17 00:00:00 2001 From: curaga Date: Thu, 30 May 2013 15:05:29 +0000 Subject: [PATCH] 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 --- src/utils/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/log.cpp b/src/utils/log.cpp index 457fcf7b4..fcdefa4a5 100644 --- a/src/utils/log.cpp +++ b/src/utils/log.cpp @@ -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); }