From 4da5225f84646d149fe855a19b76f77ce3e539d2 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 10 Jul 2005 21:52:30 +0000 Subject: [PATCH] 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 --- src/kits/interface/Font.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/interface/Font.cpp b/src/kits/interface/Font.cpp index f00a7990d0..1c545f673c 100644 --- a/src/kits/interface/Font.cpp +++ b/src/kits/interface/Font.cpp @@ -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)