From c4ff52c31050014c38d24bfe48593f57e3402ca0 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Mon, 14 Jul 2003 22:51:52 +0000 Subject: [PATCH] Thunderbird specific change. Has no impact on trunk builds. Fix a silly mistake that was causing thunderbird to fail to launch if you did not pass the -mail parameter at the command line. git-svn-id: svn://10.0.0.236/trunk@144862 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsAppShellService.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/xpfe/appshell/src/nsAppShellService.cpp b/mozilla/xpfe/appshell/src/nsAppShellService.cpp index d8b5d0ad934..592ba1b797a 100644 --- a/mozilla/xpfe/appshell/src/nsAppShellService.cpp +++ b/mozilla/xpfe/appshell/src/nsAppShellService.cpp @@ -1131,6 +1131,8 @@ nsAppShellService::LaunchTask(const char *aParam, PRInt32 height, PRInt32 width, nsAutoString cmdArgs; cmdArgs.AssignWithConversion(args); rv = OpenWindow(chromeUrlForTask, cmdArgs, height, width); } + else + rv = NS_ERROR_FAILURE; } // any failure case, do what we used to do: