diff options
Diffstat (limited to 'base/logging.cpp')
-rw-r--r-- | base/logging.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/logging.cpp b/base/logging.cpp index ece10ecdd..dab86fe89 100644 --- a/base/logging.cpp +++ b/base/logging.cpp @@ -415,6 +415,8 @@ LogMessage::~LogMessage() { msg[nl] = '\0'; LogLine(data_->GetFile(), data_->GetLineNumber(), data_->GetId(), data_->GetSeverity(), &msg[i]); + // Undo the zero-termination so we can give the complete message to the aborter. + msg[nl] = '\n'; i = nl + 1; } } |