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:
Michael Lotz 2005-07-10 21:52:30 +00:00
parent 3f319b3346
commit 4da5225f84

View File

@ -172,6 +172,7 @@ count_font_styles(font_family name)
BPrivate::AppServerLink link;
link.StartMessage(AS_COUNT_FONT_STYLES);
link.Attach(name, sizeof(font_family));
if (link.FlushWithReply(code) != B_OK
|| code != SERVER_TRUE)