X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-select-scheme.cc;h=6c8bcd42cdbbad8b7958ceecc690ce73c5e770b2;hb=3d73a166dcc6738ce5fa1c29d9ded1bd995406a3;hp=b1edd941c5e1c5f9004fd0d738269bc841ff8fb2;hpb=16cb456cabf477f6d398ff731aa0f10b60913394;p=lilypond.git diff --git a/lily/pango-select-scheme.cc b/lily/pango-select-scheme.cc index b1edd941c5..6c8bcd42cd 100644 --- a/lily/pango-select-scheme.cc +++ b/lily/pango-select-scheme.cc @@ -13,9 +13,10 @@ LY_DEFINE (ly_make_pango_description_string, "ly:make-pango-description-string", 2, 0, 0, (SCM chain, SCM size), - "Make a PangoFontDescription string for the property alist @var{chain} at size @var{size}.") + "Make a @code{PangoFontDescription} string for the property" + " alist @var{chain} at size @var{size}.") { - SCM_ASSERT_TYPE (scm_is_number (size), size, SCM_ARG1, __FUNCTION__, "number"); + LY_ASSERT_TYPE (scm_is_number, size, 1); PangoFontDescription *pfd = properties_to_pango_description (chain, scm_to_double (size)); char *str = pango_font_description_to_string (pfd);