X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-select-scheme.cc;h=a044b1cd2c337bded7f821dc7d784a07af23856b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=7a48daf53584c0e7be0b18582398d3c8a9a6946e;hpb=711cf44d0ab28f3159230c84d63c0b19199408b0;p=lilypond.git diff --git a/lily/pango-select-scheme.cc b/lily/pango-select-scheme.cc index 7a48daf535..a044b1cd2c 100644 --- a/lily/pango-select-scheme.cc +++ b/lily/pango-select-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2006 Han-Wen Nienhuys + (c) 2005--2008 Han-Wen Nienhuys */ #include "config.hh" @@ -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);