Fix loading add-ons in safemode
Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
This commit is contained in:
parent
ced0e0be04
commit
b29295c7da
@ -339,7 +339,7 @@ IndexServer::_StartWatchingAddOns()
|
||||
};
|
||||
|
||||
// when safemode, only B_SYSTEM_ADDONS_DIRECTORY is used
|
||||
for (uint32 i = safeMode ? 4 : 0;
|
||||
for (uint32 i = safeMode ? 3 : 0;
|
||||
i < sizeof(directories) / sizeof(directory_which); i++) {
|
||||
BDirectory directory;
|
||||
node_ref nodeRef;
|
||||
|
@ -301,7 +301,7 @@ MediaAddonServer::ReadyToRun()
|
||||
};
|
||||
|
||||
// when safemode, only B_SYSTEM_ADDONS_DIRECTORY is used
|
||||
for (uint32 i = safeMode ? 4 : 0;
|
||||
for (uint32 i = safeMode ? 3 : 0;
|
||||
i < sizeof(directories) / sizeof(directory_which); i++) {
|
||||
BDirectory directory;
|
||||
node_ref nodeRef;
|
||||
|
Loading…
Reference in New Issue
Block a user