diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-06 09:41:40 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-06 09:41:40 (GMT) |
commit | 0831c71c05c9204839e187759f13303e64783730 (patch) | |
tree | 8a196bd8de51c681c6a714a27ba1480107065256 /src/markdown.cpp | |
parent | 39ba42c3b21d08ec606eee18ee8b64c67ec6a42a (diff) | |
download | Doxygen-0831c71c05c9204839e187759f13303e64783730.zip Doxygen-0831c71c05c9204839e187759f13303e64783730.tar.gz Doxygen-0831c71c05c9204839e187759f13303e64783730.tar.bz2 |
Guarded debug prints against printing a NULL pointer.
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 32691d4..02d1416 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2318,7 +2318,7 @@ QCString processMarkdown(const QCString &fileName,const int lineNr,Entry *e,cons // finally process the inline markup (links, emphasis and code spans) processInline(out,s,s.length()); out.addChar(0); - Debug::print(Debug::Markdown,0,"======== Markdown =========\n---- input ------- \n%s\n---- output -----\n%s\n---------\n",input.data(),out.get()); + Debug::print(Debug::Markdown,0,"======== Markdown =========\n---- input ------- \n%s\n---- output -----\n%s\n---------\n",qPrint(input),qPrint(out.get())); return out.get(); } |