]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-outputter-scheme.cc
Set horizon_padding by default for tie formatting, vertical staff distance
[lilypond.git] / lily / paper-outputter-scheme.cc
index 706ef0a1f7329009bebe6faf9e3aa5d37901fc31..d7fe624952264fafe49a307fe802632875946631 100644 (file)
@@ -3,12 +3,14 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "paper-outputter.hh"
-#include "warn.hh"
+
+#include "international.hh"
 #include "stencil.hh"
+#include "warn.hh"
 
 LY_DEFINE (ly_make_paper_outputter, "ly:make-paper-outputter",
           2, 0, 0, (SCM port, SCM format),
@@ -20,16 +22,16 @@ LY_DEFINE (ly_make_paper_outputter, "ly:make-paper-outputter",
   SCM_ASSERT_TYPE (scm_is_string (format), format, SCM_ARG2, __FUNCTION__,
                   "String");
 
-  String f = ly_scm2string (format);
+  string f = ly_scm2string (format);
 
-  String output_name = "<unknown>";
+  string output_name = "<unknown>";
 
   SCM port_name = scm_port_filename (port);
   if (scm_is_string (port_name))
     output_name = ly_scm2string (port_name);
 
   message (_f ("Layout output to `%s'...",
-              output_name.to_str0 ()));
+              output_name.c_str ()));
 
   progress_indication ("\n");
   Paper_outputter *po = new Paper_outputter (port, f);