Core/Errors: Fix a bad formatting call. (#115)

This commit is contained in:
Warpten
2020-06-02 20:01:30 +02:00
committed by GitHub
parent 062667df95
commit 3994e2a183

View File

@@ -95,7 +95,7 @@ void Fatal(char const* file, int line, char const* function, char const* message
va_list args;
va_start(args, message);
std::string formattedMessage = StringFormat("\n%s:%i in %s FATAL ERROR:\n %s\n", file, line, function) + FormatAssertionMessage(message, args) + '\n';
std::string formattedMessage = StringFormat("\n%s:%i in %s FATAL ERROR:\n", file, line, function) + FormatAssertionMessage(message, args) + '\n';
va_end(args);
fprintf(stderr, "%s", formattedMessage.c_str());