diff options
author | albert-github <albert.tests@gmail.com> | 2021-04-22 10:16:45 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2021-04-22 10:16:45 (GMT) |
commit | 61cbf1af5ea83f0d0b299cb53510aed317c77f70 (patch) | |
tree | b797d7f13c6c3a9c5a85bd54d195f81c64ac49c2 /src | |
parent | 98c67549bc3cd855873e0ef5eeab7c6410699d78 (diff) | |
download | Doxygen-61cbf1af5ea83f0d0b299cb53510aed317c77f70.zip Doxygen-61cbf1af5ea83f0d0b299cb53510aed317c77f70.tar.gz Doxygen-61cbf1af5ea83f0d0b299cb53510aed317c77f70.tar.bz2 |
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):
Diffstat (limited to 'src')
-rw-r--r-- | src/qcstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__) /***************************************************************************** |