X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpaper-outputter-scheme.cc;h=bc89a86016711343b857dc19d0fefe8a4c6013f5;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=672eab7ce72c07838c780ede3ad5030d9ffac913;hpb=3f8485925e8c879fe4c9ae86acef9804126c3b91;p=lilypond.git diff --git a/lily/paper-outputter-scheme.cc b/lily/paper-outputter-scheme.cc index 672eab7ce7..bc89a86016 100644 --- a/lily/paper-outputter-scheme.cc +++ b/lily/paper-outputter-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2007 Han-Wen Nienhuys + (c) 2005--2008 Han-Wen Nienhuys */ #include "paper-outputter.hh" @@ -14,14 +14,13 @@ LY_DEFINE (ly_make_paper_outputter, "ly:make-paper-outputter", 2, 0, 0, (SCM port, SCM format), - "Create an outputter that evaluates within " - "@code{output-}@var{format}, writing to @var{port}.") + "Create an outputter that evaluates within" + " @code{output-}@var{format}, writing to @var{port}.") { LY_ASSERT_TYPE (ly_is_port, port, 1); - LY_ASSERT_TYPE (scm_is_string, format, 2); - - string f = ly_scm2string (format); + LY_ASSERT_TYPE (ly_is_symbol, format, 2); + string f = ly_symbol2string (format); string output_name = ""; SCM port_name = scm_port_filename (port);