X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fduration.cc;h=1618489027dd7d74c53c9e4952fb4a6b0fce4be3;hb=c9720d4d521eb2fe7dd916334239fa0f607b256a;hp=f2d79799dee81707d0e304b4536787b6b38d7ecc;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/lily/duration.cc b/lily/duration.cc index f2d79799de..1618489027 100644 --- a/lily/duration.cc +++ b/lily/duration.cc @@ -3,7 +3,7 @@ source file of the LilyPond music typesetter - (c) 1997--2006 Jan Nieuwenhuizen + (c) 1997--2007 Jan Nieuwenhuizen Han-Wen Nienhuys */ @@ -60,10 +60,10 @@ Duration::get_length () const return mom * factor_; } -String +string Duration::to_string () const { - String s; + string s; if (durlog_ < 0) s = "log = " + ::to_string (durlog_); @@ -91,7 +91,7 @@ Duration::print_smob (SCM s, SCM port, scm_print_state *) Duration *r = (Duration *) SCM_CELL_WORD_1 (s); scm_puts ("#to_string ().to_str0 ()), port); + scm_display (ly_string2scm (r->to_string ()), port); scm_puts (" >", port); return 1;