From: Michael Welsh Duggan Date: Sat, 9 Dec 2006 00:11:17 +0000 (-0500) Subject: Various code cleanups X-Git-Tag: release/2.11.6-1~50 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=db2d03691f2b1114b1b822c3ed0aa6f803045815;p=lilypond.git Various code cleanups --- diff --git a/lily/breathing-sign.cc b/lily/breathing-sign.cc index d0acbcea05..d243f89e4b 100644 --- a/lily/breathing-sign.cc +++ b/lily/breathing-sign.cc @@ -41,14 +41,9 @@ Breathing_sign::divisio_minima (SCM smob) { Grob *me = unsmob_grob (smob); Real staff_space = Staff_symbol_referencer::staff_space (me); - Real staff_size; Real thickness = Staff_symbol_referencer::line_thickness (me); thickness *= robust_scm2double (me->get_property ("thickness"), 1.0); - if (Staff_symbol_referencer::get_staff_symbol (me)) - staff_size = (Staff_symbol_referencer::line_count (me) - 1) * staff_space; - else - staff_size = 0.0; Real blotdiameter = me->layout ()->get_dimension (ly_symbol2scm ("blot-diameter")); diff --git a/lily/include/ly-smobs.icc b/lily/include/ly-smobs.icc index 99c09fc043..b62a4259d4 100644 --- a/lily/include/ly-smobs.icc +++ b/lily/include/ly-smobs.icc @@ -96,9 +96,10 @@ This is local. We don't assign to self_scm_ directly, to assure \ that S isn't GC-ed from under us. \ \ - We don't use smobbed_self () to ensure that mark_smob () doesn't have to \ - deal half-initialized objects: scm_done_malloc ( ) might trigger GC. \ - the warning in smobs.hh is just to be doubleplus goodly sure \ + We don't use smobbed_self () to ensure that mark_smob () doesn't \ + have to deal half-initialized objects: scm_done_malloc ( ) might \ + trigger GC.the warning in smobs.hh is just to be doubleplus \ + goodly sure \ */ \ SCM s; \ SCM_NEWSMOB (s, CL::smob_tag_, this); \ diff --git a/lily/ottava-engraver.cc b/lily/ottava-engraver.cc index 6afa928387..556a34903b 100644 --- a/lily/ottava-engraver.cc +++ b/lily/ottava-engraver.cc @@ -1,5 +1,5 @@ /* - text-spanner-engraver.cc -- implement Ottava_spanner_engraver + ottova-engraver.cc -- implement Ottava_spanner_engraver source file of the GNU LilyPond music typesetter diff --git a/mf/parmesan-accidentals.mf b/mf/parmesan-accidentals.mf index c9f8fba0d9..c09ae5ae5f 100644 --- a/mf/parmesan-accidentals.mf +++ b/mf/parmesan-accidentals.mf @@ -1,4 +1,4 @@ -% -*-Fundamental-*- +% -%-Fundamental-%- -*-Metafont-*- % parmesan-accidentals.mf -- implement ancient accidentals % % source file of LilyPond's pretty-but-neat music font diff --git a/mf/parmesan-flags.mf b/mf/parmesan-flags.mf index 1202080108..2ee63a0e93 100644 --- a/mf/parmesan-flags.mf +++ b/mf/parmesan-flags.mf @@ -1,4 +1,4 @@ -% -*-Fundamental-*- +% -%-Fundamental-%- -*-Metafont-*- % parmesan-flags.mf -- implement ancient flags % % source file of LilyPond's pretty-but-neat music font diff --git a/mf/parmesan-generic.mf b/mf/parmesan-generic.mf index 0ed8a62016..7114bc6837 100644 --- a/mf/parmesan-generic.mf +++ b/mf/parmesan-generic.mf @@ -1,5 +1,4 @@ - -% -*-Fundamental-*- +% -%-Fundamental-%- -*-Metafont-*- % parmesan-generic.mf -- implement generic stuff: include lots of files, % but don't set dims. % diff --git a/mf/parmesan-timesig.mf b/mf/parmesan-timesig.mf index 6aa68ab580..d02840b57f 100644 --- a/mf/parmesan-timesig.mf +++ b/mf/parmesan-timesig.mf @@ -1,4 +1,4 @@ -% -*-Fundamental-*- +% -%-Fundamental-%- -*-Metafont-*- % parmesan-timesig.mf -- implement ancient time signatures % % source file of LilyPond's pretty-but-neat music font