suiterunner doesn't compose using -url b=337020 sr=mscott

This commit is contained in:
neil%parkwaycc.co.uk 2006-05-08 08:28:39 +00:00
parent 5b30fac518
commit dd48d4653c

View File

@ -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;