From dd48d4653c6f1d57bb6f470eb81987d629d2a750 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Mon, 8 May 2006 08:28:39 +0000 Subject: [PATCH] suiterunner doesn't compose using -url b=337020 sr=mscott --- mailnews/compose/src/nsMsgComposeService.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mailnews/compose/src/nsMsgComposeService.cpp b/mailnews/compose/src/nsMsgComposeService.cpp index 835c550a2d54..01355cbec532 100644 --- a/mailnews/compose/src/nsMsgComposeService.cpp +++ b/mailnews/compose/src/nsMsgComposeService.cpp @@ -1386,10 +1386,12 @@ nsMsgComposeService::Handle(nsICommandLine* aCmdLine) rv = aCmdLine->FindFlag(NS_LITERAL_STRING("compose"), PR_FALSE, &found); NS_ENSURE_SUCCESS(rv, rv); +#ifndef MOZ_SUITE // MAC OS X passes in -url mailto:mscott@mozilla.org into the command line // instead of -compose. if (found == -1) rv = aCmdLine->FindFlag(NS_LITERAL_STRING("url"), PR_FALSE, &found); +#endif if (found == -1) return NS_OK;