Fix newlines in logging before the manager is initialized.

This commit is contained in:
Henrik Rydgård 2020-08-16 00:38:31 +02:00
parent 80aa527f1a
commit c5147c01a0

View file

@ -52,6 +52,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const char
} else {
// Fall back to printf if we're before the log manager has been initialized.
vprintf(fmt, args);
printf("\n");
}
va_end(args);
}