Fixed broken count_font_styles(), font menus now really work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13626 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -172,6 +172,7 @@ count_font_styles(font_family name)
|
|||||||
BPrivate::AppServerLink link;
|
BPrivate::AppServerLink link;
|
||||||
|
|
||||||
link.StartMessage(AS_COUNT_FONT_STYLES);
|
link.StartMessage(AS_COUNT_FONT_STYLES);
|
||||||
|
link.Attach(name, sizeof(font_family));
|
||||||
|
|
||||||
if (link.FlushWithReply(code) != B_OK
|
if (link.FlushWithReply(code) != B_OK
|
||||||
|| code != SERVER_TRUE)
|
|| code != SERVER_TRUE)
|
||||||
|
|||||||
Reference in New Issue
Block a user