From 61cbf1af5ea83f0d0b299cb53510aed317c77f70 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 22 Apr 2021 12:16:45 +0200 Subject: Error messages on ASSERTS Added missing `\n` in output, most likely regression due to change from the qt version of `ASSERT`: ``` qFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) ``` or ``` qWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) ``` In Fossies we got that the messages were just put behind each other (they should not appear at all but that is another issue): --- src/qcstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qcstring.h b/src/qcstring.h index 3efda9a..ef5adce 100644 --- a/src/qcstring.h +++ b/src/qcstring.h @@ -40,7 +40,7 @@ typedef unsigned long ulong; typedef int64_t int64; typedef uint64_t uint64; #define ASSERT(x) if ( !(x) )\ - fprintf(stderr,"ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) + fprintf(stderr,"ASSERT: \"%s\" in %s (%d)\n",#x,__FILE__,__LINE__) /***************************************************************************** -- cgit v0.12