From 85fdce169805b6d1fb487edf8ba88a6c97797cdb Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sat, 21 Nov 2009 22:15:59 +0000 Subject: [PATCH] Fix tabs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34179 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/FontManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/app/FontManager.cpp b/src/servers/app/FontManager.cpp index a2ca0e2208..357243e8b7 100644 --- a/src/servers/app/FontManager.cpp +++ b/src/servers/app/FontManager.cpp @@ -587,7 +587,7 @@ FontManager::_AddFont(font_directory& directory, BEntry& entry) if (error != 0) return B_ERROR; - FontFamily *family = _FindFamily(face->family_name); + FontFamily *family = _FindFamily(face->family_name); if (family != NULL && family->HasStyle(face->style_name)) { // prevent adding the same style twice // (this indicates a problem with the installed fonts maybe?) @@ -608,7 +608,7 @@ FontManager::_AddFont(font_directory& directory, BEntry& entry) FTRACE(("\tadd style: %s, %s\n", face->family_name, face->style_name)); // the FontStyle takes over ownership of the FT_Face object - FontStyle *style = new FontStyle(nodeRef, path.Path(), face); + FontStyle *style = new FontStyle(nodeRef, path.Path(), face); if (!family->AddStyle(style)) { delete style; delete family;