diff --git a/mailnews/compose/src/nsMsgComposeService.cpp b/mailnews/compose/src/nsMsgComposeService.cpp index cb711f43ffbe..626756c02ec0 100644 --- a/mailnews/compose/src/nsMsgComposeService.cpp +++ b/mailnews/compose/src/nsMsgComposeService.cpp @@ -1385,7 +1385,7 @@ nsMsgComposeService::Handle(nsICommandLine* aCmdLine) rv = aCmdLine->GetLength(&count); NS_ENSURE_SUCCESS(rv, rv); - if (count >= found) { + if (count > found) { aCmdLine->GetArgument(found + 1, uristr); if (StringBeginsWith(uristr, NS_LITERAL_STRING("mailto:")) || StringBeginsWith(uristr, NS_LITERAL_STRING("to=")) ||