assert: Undo removal of newline for string with __VA_ARGS__

master
Daniel Lim Wee Soong 2018-03-27 10:01:10 +07:00
parent 111da6db06
commit 59b8a1dbc2
1 changed files with 2 additions and 1 deletions

@ -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)