diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 97a6c2494d45..3927840c44a2 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1155,7 +1155,7 @@ void restartOnMac(bool passArguments) { { argPtrs.push_back(i->getStr()); } - argPtrs.push_back(0); + argPtrs.push_back(nullptr); execv(execPath8.getStr(), const_cast< char ** >(&argPtrs[0])); if (errno == ENOTSUP) { // happens when multithreaded on OS X < 10.6 pid_t pid = fork(); |