From: Jan Nieuwenhuizen Date: Thu, 25 Jul 2002 08:27:09 +0000 (+0000) Subject: pre-ontgaar mods X-Git-Tag: release/1.5.70~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=ab8bee10bbe0a768d4e8535b2f7b32c026bedf27;p=lilypond.git pre-ontgaar mods --- diff --git a/flower/source-file.cc b/flower/source-file.cc index e8d55966f1..1598cf1e51 100644 --- a/flower/source-file.cc +++ b/flower/source-file.cc @@ -244,6 +244,6 @@ Source_file::forward_ch_C (int n) String Source_file::get_str (int n) { - String str ((Byte const*)forward_ch_C (n), n); + String str = String ((Byte const*)forward_ch_C (n), n); return str; } diff --git a/lily/lily-version.cc b/lily/lily-version.cc index bc9c2bd876..978e2654f8 100644 --- a/lily/lily-version.cc +++ b/lily/lily-version.cc @@ -13,7 +13,7 @@ String version_str () { - String str (MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL); + String str = MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL; String mpl ("." MY_PATCH_LEVEL); if (mpl != ".") str += mpl; diff --git a/lily/moment.cc b/lily/moment.cc index d44af366e2..29747441da 100644 --- a/lily/moment.cc +++ b/lily/moment.cc @@ -37,7 +37,7 @@ Moment::print_smob (SCM s, SCM port, scm_print_state *) Moment *r = (Moment *) ly_cdr (s); scm_puts ("#str ()); + String str = r->str (); scm_puts ((char *)str.ch_C (), port); scm_puts (" >", port); diff --git a/lily/script-column.cc b/lily/script-column.cc index 33aacb3e5e..5556d71520 100644 --- a/lily/script-column.cc +++ b/lily/script-column.cc @@ -58,7 +58,8 @@ Script_column::before_line_breaking (SCM smob) Direction d = DOWN; do { - Link_array &arr (arrs[d]); + Link_array &arr + (arrs[d]); arr.sort (staff_side_compare); diff --git a/lily/tie.cc b/lily/tie.cc index bcf59d80f1..14c3d7be5f 100644 --- a/lily/tie.cc +++ b/lily/tie.cc @@ -37,13 +37,13 @@ void -Tie::set_head (Grob*me,Direction d, Item * head_l) +Tie::set_head (Grob*me,Direction d, Item * h) { assert (!head (me,d)); - index_set_cell (me->get_grob_property ("heads"), d, head_l->self_scm ()); + index_set_cell (me->get_grob_property ("heads"), d, h->self_scm ()); - dynamic_cast (me)->set_bound (d, head_l); - me->add_dependency (head_l); + dynamic_cast (me)->set_bound (d, h); + me->add_dependency (h); } void