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)