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
Родитель 262731580a
Коммит 7da59375cf
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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