summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-04-06 09:41:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-04-06 09:41:40 (GMT)
commit0831c71c05c9204839e187759f13303e64783730 (patch)
tree8a196bd8de51c681c6a714a27ba1480107065256 /src/portable.cpp
parent39ba42c3b21d08ec606eee18ee8b64c67ec6a42a (diff)
downloadDoxygen-0831c71c05c9204839e187759f13303e64783730.zip
Doxygen-0831c71c05c9204839e187759f13303e64783730.tar.gz
Doxygen-0831c71c05c9204839e187759f13303e64783730.tar.bz2
Guarded debug prints against printing a NULL pointer.
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index ff29303..5886793 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -45,7 +45,7 @@ int portable_system(const char *command,const char *args,bool commandHasConsole)
fullCmd += " ";
fullCmd += args;
#ifndef NODEBUG
- Debug::print(Debug::ExtCmd,0,"Executing external command `%s`\n",fullCmd.data());
+ Debug::print(Debug::ExtCmd,0,"Executing external command `%s`\n",qPrint(fullCmd));
#endif
#if !defined(_WIN32) || defined(__CYGWIN__)