don't create the directory if it doesn't exist, fix bug #207
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
08a32bf95d
commit
dac2d29a21
@ -456,7 +456,7 @@ FontManager::_AddSystemPaths()
|
||||
|
||||
// We don't scan these in test mode to help shave off some startup time
|
||||
#if !TEST_MODE
|
||||
if (find_directory(B_COMMON_FONTS_DIRECTORY, &path, true) == B_OK)
|
||||
if (find_directory(B_COMMON_FONTS_DIRECTORY, &path) == B_OK)
|
||||
_AddPath(path.Path());
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user