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
This commit is contained in:
parent
5c210a480b
commit
759fcf143d
@ -89,7 +89,7 @@ FontStyle::~FontStyle(void)
|
||||
*/
|
||||
const char *FontStyle::Name(void)
|
||||
{
|
||||
return path->String();
|
||||
return name->String();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user