]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-smob.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / input-smob.cc
index 03c9da46b0d9f2f06963deca275b964bfe3719e3..e3bc5d275d8f90907351184820cf01091c4cf971 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "input-smob.hh"
 
-#include "string.hh"
+#include "std-string.hh"
 
 #include "ly-smobs.icc"
 
@@ -26,8 +26,8 @@ SCM mark_smob (SCM)
 static int
 print_smob (SCM s, SCM port, scm_print_state *)
 {
-  String str = "#<location " + unsmob_input (s)->location_string () + ">";
-  scm_puts (str.to_str0 (), port);
+  string str = "#<location " + unsmob_input (s)->location_string () + ">";
+  scm_puts (str.c_str (), port);
   return 1;
 }