media addon server: Fix incorrect array offset for safe mode

Missed that when back porting 323b65468e.
This commit is contained in:
Ingo Weinhold 2011-12-08 22:17:13 +01:00
parent 104c404c7e
commit a5c5479710

View File

@ -300,7 +300,7 @@ MediaAddonServer::ReadyToRun()
};
// when safemode, only B_SYSTEM_ADDONS_DIRECTORY is used
for (uint32 i = safeMode ? 4 : 0;
for (uint32 i = safeMode ? 2 : 0;
i < sizeof(directories) / sizeof(directory_which); i++) {
BDirectory directory;
node_ref nodeRef;