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:
Jérôme Duval 2006-02-19 16:42:51 +00:00
parent 08a32bf95d
commit dac2d29a21

View File

@ -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
}