CID 10351: Fix incorrect indentation that resulted in
DiskSystemAddOnManager::PutAddOn() being broken in various ways due to incorrect curly brace placement. Among other things this probably led to add-ons not being unloaded correctly when they should have been. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40265 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
908d7185b0
commit
ef83c28376
@ -200,10 +200,11 @@ DiskSystemAddOnManager::PutAddOn(BDiskSystemAddOn* _addOn)
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
for (int32 i = 0;
|
||||
AddOn* addOn = (AddOn*)fAddOnsToBeUnloaded.ItemAt(i); i++) {
|
||||
if (_addOn == addOn->addOn)
|
||||
if (_addOn == addOn->addOn) {
|
||||
_PutAddOn(i);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user