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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user