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

git-svn-id: svn://10.0.0.236/trunk@124778 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com
2002-07-09 00:03:37 +00:00
parent e6da9c3d6e
commit efbebd6a84

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...