From: Werner Lemberg Date: Tue, 23 Mar 2004 07:01:46 +0000 (+0000) Subject: beautifying X-Git-Tag: release/2.1.34~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=00d31c0186ec27e8a05417485639cae43aa8e82d;p=lilypond.git beautifying --- diff --git a/lily/custos.cc b/lily/custos.cc index 83913b2cda..db442a3dee 100644 --- a/lily/custos.cc +++ b/lily/custos.cc @@ -54,7 +54,7 @@ Custos::print (SCM smob) Direction neutral_direction = to_dir (me->get_property ("neutral-direction")); - int pos = (int)Staff_symbol_referencer::get_rounded_position (me); + int pos = Staff_symbol_referencer::get_rounded_position (me); int sz = Staff_symbol_referencer::line_count (me)-1; String font_char = "custodes-" + style + "-"; diff --git a/lily/include/staff-symbol-referencer.hh b/lily/include/staff-symbol-referencer.hh index b93516dbe0..3a4b5946ab 100644 --- a/lily/include/staff-symbol-referencer.hh +++ b/lily/include/staff-symbol-referencer.hh @@ -40,7 +40,7 @@ public: static int line_count (Grob*); static Real get_position (Grob*); static Real staff_radius (Grob*); - static int get_rounded_position (Grob*me); + static int get_rounded_position (Grob*); }; int compare_position (Grob *const&,Grob *const&);