mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 333681: Switching profiles opens chatzilla. r/sr=neil
This commit is contained in:
parent
49bf45af40
commit
392ceea3d4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user