From dfe47f6ca11d4eb0350a0e7334d1cf181d079048 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Wed, 4 Mar 2009 20:11:11 +0000 Subject: [PATCH] setting the output color to normal --- src/core/assert.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/assert.hh b/src/core/assert.hh index 3620bf3..6ab121c 100644 --- a/src/core/assert.hh +++ b/src/core/assert.hh @@ -32,6 +32,7 @@ namespace core #Cond, __PRETTY_FUNCTION__, __FILE__, __LINE__); \ ::core::assert_print_stack_trace(); \ ::core::assert_trap(); \ + fprintf(stderr, "\e[m"); \ abort(); \ } \ } while (0) @@ -51,6 +52,7 @@ namespace core #Cond, __PRETTY_FUNCTION__, __FILE__, __LINE__, (Msg)); \ ::core::assert_print_stack_trace(); \ ::core::assert_trap(); \ + fprintf(stderr, "\e[m"); \ abort(); \ } \ } while (0) -- 2.11.4.GIT