From 59b8a1dbc20e277042205f1b8c8bc26146a37ec6 Mon Sep 17 00:00:00 2001 From: Daniel Lim Wee Soong Date: Tue, 27 Mar 2018 10:01:10 +0800 Subject: [PATCH] assert: Undo removal of newline for string with __VA_ARGS__ --- src/common/assert.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/assert.h b/src/common/assert.h index 9718b0222..cf8109af8 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -37,7 +37,8 @@ __declspec(noinline, noreturn) #define ASSERT_MSG(_a_, ...) \ do \ if (!(_a_)) { \ - assert_noinline_call([&] { NGLOG_CRITICAL(Debug, "Assertion Failed!" __VA_ARGS__); }); \ + assert_noinline_call( \ + [&] { NGLOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \ } \ while (0)