diff options
Diffstat (limited to 'src/utils/assert.cpp')
-rw-r--r-- | src/utils/assert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/assert.cpp b/src/utils/assert.cpp index 29af831d8..3747912d6 100644 --- a/src/utils/assert.cpp +++ b/src/utils/assert.cpp @@ -21,7 +21,7 @@ void assertion_failure(const char* expr_str, format << "Assertion " << expr_str << " failed "; - if(msg) + if(msg && msg[0] != 0) format << "(" << msg << ") "; if(func) |