bug 155679, mapi with turbo and multiple profile doesn't work, r=rdayal, sr=jag

This commit is contained in:
morse%netscape.com 2002-07-09 00:03:37 +00:00
parent 262731580a
commit 7da59375cf

View File

@ -1770,7 +1770,10 @@ nsNativeAppSupportWin::HandleRequest( LPBYTE request, PRBool newWindow ) {
// check wheather it is a MAPI request. If yes, don't open any new
// windows and just return.
rv = args->GetCmdLineValue(MAPI_STARTUP_ARG, getter_Copies(arg));
if (NS_SUCCEEDED(rv) && (const char*)arg) return;
if (NS_SUCCEEDED(rv) && (const char*)arg) {
nativeApp->EnsureProfile(args);
return;
}
// Try standard startup's command-line handling logic from nsAppRunner.cpp...