author | Sylvestre Ledru <sledru@mozilla.com> |
Wed, 13 Feb 2019 00:18:45 +0100 | |
changeset 458727 | c7f5753a2c71 |
parent 458726 | 3a58833843ab |
child 458728 | 1f7d1d6bf61d |
push id | 35546 |
push user | rmaries@mozilla.com |
push date | Wed, 13 Feb 2019 04:27:59 +0000 |
treeherder | mozilla-central@636d2c00234d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | glandium |
bugs | 1488679 |
milestone | 67.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1523,19 +1523,23 @@ static void DumpHelp() { // this works, but only after the components have registered. so if you drop // in a new command line handler, --help won't not until the second run. out // of the bug, because we ship a component.reg file, it works correctly. DumpArbitraryHelp(); } static inline void DumpVersion() { - if (gAppData->vendor) printf("%s ", (const char*)gAppData->vendor); + if (gAppData->vendor) { + printf("%s ", (const char*)gAppData->vendor); + } printf("%s %s", (const char*)gAppData->name, (const char*)gAppData->version); - if (gAppData->copyright) printf(", %s", (const char*)gAppData->copyright); + if (gAppData->copyright) { + printf(", %s", (const char*)gAppData->copyright); + } printf("\n"); } #if defined(MOZ_WIDGET_GTK) static RemoteResult ParseRemoteCommandLine(nsCString& program, const char** profile, const char** username) { ArgResult ar;