From 759fcf143d5bfd7640fca9a1311f40d10a9ea3d4 Mon Sep 17 00:00:00 2001 From: haydentech Date: Wed, 26 May 2004 16:41:29 +0000 Subject: [PATCH] FontStyle::Name() was returning the path, not the name. It looked like an unfinished cut-n-paste from Path(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7657 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/FontFamily.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/server/FontFamily.cpp b/src/servers/app/server/FontFamily.cpp index 5ccae1b32d..6adda1bb03 100644 --- a/src/servers/app/server/FontFamily.cpp +++ b/src/servers/app/server/FontFamily.cpp @@ -89,7 +89,7 @@ FontStyle::~FontStyle(void) */ const char *FontStyle::Name(void) { - return path->String(); + return name->String(); } /*!