Bug 404368 - "xulrunner application.ini --version outputs: "(null)" if copyright field is not defined" [p=arno.@no-log.org (arno.) r=bsmedberg a1.9=schrep]

git-svn-id: svn://10.0.0.236/trunk@240161 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2007-11-30 20:08:55 +00:00
parent 23ae2fc625
commit a1e1df14e0

View File

@ -1195,8 +1195,11 @@ VerifyInstallation(nsIFile* aAppDir)
static inline void
DumpVersion()
{
printf("%s %s %s, %s\n",
gAppData->vendor ? gAppData->vendor : "", gAppData->name, gAppData->version, gAppData->copyright);
printf("%s %s %s",
gAppData->vendor ? gAppData->vendor : "", gAppData->name, gAppData->version);
if (gAppData->copyright)
printf(", %s", gAppData->copyright);
printf("\n");
}
#ifdef MOZ_ENABLE_XREMOTE