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/portable.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/portable.cpp')
-rw-r--r-- | src/portable.cpp | 2 |
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__) |