Enabled fonts in the user font directory as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17143 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-04-16 15:38:11 +00:00
parent b506c53f0a
commit ccc21e3c82
+6 -5
View File
@@ -1039,14 +1039,13 @@ FontManager::AttachUser(uid_t userID)
{ {
BAutolock locker(this); BAutolock locker(this);
/* #if !TEST_MODE
BPath path; BPath path;
status_t status = find_directory(B_USER_FONTS_DIRECTORY, &path); if (find_directory(B_USER_FONTS_DIRECTORY, &path) != B_OK)
if (status != B_OK) return;
return status;
_AddPath(path.Path()); _AddPath(path.Path());
*/ #endif
} }
@@ -1054,5 +1053,7 @@ void
FontManager::DetachUser(uid_t userID) FontManager::DetachUser(uid_t userID)
{ {
BAutolock locker(this); BAutolock locker(this);
// TODO!
} }