mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Overloading Errorhandler to handle E_INSTALL separately. bug 66688, r=sgehani, sr=alecf, a=asa
This commit is contained in:
parent
fec754b7c4
commit
3c4fc745f0
@ -385,7 +385,10 @@ nsXIEngine::Install(int aCustom, nsComponentList *aComps, char *aDestination)
|
||||
compNum, mTotalComps, nsInstallDlg::ACT_INSTALL);
|
||||
err = InstallXPI(currComp, &stub);
|
||||
if (err != OK)
|
||||
ErrorHandler(err); // handle and continue
|
||||
if (err == E_INSTALL)
|
||||
ErrorHandler(err, currComp->GetArchive()); //handle E_INSTALL separately
|
||||
else
|
||||
ErrorHandler(err); //handle and continue
|
||||
compNum++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user