Bug 333681: Switching profiles opens chatzilla. r/sr=neil

git-svn-id: svn://10.0.0.236/trunk@194485 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ajschult%verizon.net
2006-04-16 22:29:36 +00:00
parent c532288950
commit 67a7be9045

View File

@@ -619,8 +619,8 @@ nsAppStartup::CreateStartupState(PRInt32 aWindowWidth, PRInt32 aWindowHeight,
for (PRUint32 i = 0; i < childCount; i++) {
PRBool prefValue;
startupBranch->GetBoolPref(childArray[i], &prefValue);
if (prefValue) {
rv = startupBranch->GetBoolPref(childArray[i], &prefValue);
if (NS_SUCCEEDED(rv) && prefValue) {
PRBool windowOpened;
rv = LaunchTask(childArray[i], aWindowHeight, aWindowWidth, &windowOpened);
if (NS_SUCCEEDED(rv) && windowOpened)