]> git.donarmstrong.com Git - lilypond.git/commitdiff
Miscellaneous nitpicks.
authorNeil Puttock <n.puttock@gmail.com>
Sun, 7 Sep 2008 17:19:06 +0000 (18:19 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 7 Sep 2008 17:19:06 +0000 (18:19 +0100)
lily/accidental-engraver.cc
lily/accidental-placement.cc
lily/accidental.cc
lily/balloon.cc
lily/metronome-engraver.cc
ly/arabic.ly
scm/define-music-types.scm

index d57124981d2941c61a868930382d2ca42d64fe3b..c7440e51543393c2dde6dfd750bac6fd04bcd2c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  accidental-engraver.cc -- implement accidental_engraver
+  accidental-engraver.cc -- implement Accidental_engraver
 
   source file of the GNU LilyPond music typesetter
 
index 2c76062d6742a19151d1aaac5104c482d6e5f154..268580e4ab1d55d77c301466a2aa160b27cfaf9f 100644 (file)
@@ -68,7 +68,8 @@ Accidental_placement::split_accidentals (Grob *accs,
       {
        Grob *a = unsmob_grob (scm_car (s));
 
-       if (unsmob_grob (a->get_object ("tie")) && !to_boolean (a->get_property ("forced")))
+       if (unsmob_grob (a->get_object ("tie"))
+           && !to_boolean (a->get_property ("forced")))
          break_reminder->push_back (a);
        else
          real_acc->push_back (a);
index 7f3a97b4f77153882a5639396f091af9f7fcc498..bbf18517abaf632cb1fcb5b5811293d46efc1108 100644 (file)
@@ -109,7 +109,7 @@ Accidental_interface::accurate_boxes (Grob *me, Grob **common)
            really close.
          */
          Direction bulb_dir =
-           glyph_name=="accidentals.mirroredflat" ? LEFT : RIGHT;
+           glyph_name == "accidentals.mirroredflat" ? LEFT : RIGHT;
          stem[X_AXIS][bulb_dir] = stem[X_AXIS].center ();
 
          /*
index 5252e88077a441977a5e6927943d85e788bd8e1f..6259bf84e5bc8d33f4471d19a94f5abcb6d96650 100644 (file)
@@ -31,7 +31,7 @@ Balloon_interface::print (SCM smob)
   Grob *p = me->get_parent (X_AXIS);
   
   Offset off (me->relative_coordinate (p, X_AXIS),
-            me->relative_coordinate (p, Y_AXIS));
+             me->relative_coordinate (p, Y_AXIS));
 
   Box b (p->extent (p, X_AXIS),
         p->extent (p, Y_AXIS));
@@ -46,7 +46,7 @@ Balloon_interface::print (SCM smob)
   SCM chain = Font_interface::text_font_alist_chain (me);
 
   SCM stencil = Text_interface::interpret_markup (me->layout ()->self_scm (),
-                                              chain, bt);
+                                                 chain, bt);
 
   Stencil *text_stil = unsmob_stencil (stencil);
 
index f3b6353435f7cbec1c05eefb3cad3d4d05cfcc1b..069e67d1e125a516b535cae52223222bb631da4a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  mark-engraver.cc -- implement Metronome_mark_engraver
+  metronome-engraver.cc -- implement Metronome_mark_engraver
 
   source file of the GNU LilyPond music typesetter
 
@@ -20,10 +20,6 @@ using namespace std;
 
 #include "translator.icc"
 
-/**
-   put stuff over or next to  bars.  Examples: bar numbers, marginal notes,
-   rehearsal marks.
-*/
 class Metronome_mark_engraver : public Engraver
 {
 public:
index e5939a0d217ae6d3ae742307f1be9fd601cb5fe9..24017211a468efb0b9b184e52deeffe7130f6841 100644 (file)
@@ -3,22 +3,22 @@
 
 %%%%%%%
 %
-% Definition of "dwn" symbol in order to draw the half flat symbol 
-% that is more often used in Arabic music (A b with a slash across) 
-% , rather than the reverse b symbol that is used by LilyPond. 
-% The method was contributed by Valentin Villenavea on the LilyPond Forum
+% Definition of "dwn" symbol in order to draw the half flat symbol
+% that is more often used in Arabic music (A b with a slash across),
+% rather than the reverse b symbol that is used by LilyPond.
+% The method was contributed by Valentin Villenave on the LilyPond Forum
 %
 % http://www.mail-archive.com/lilypond-user@gnu.org/msg34244.html
-% 
+%
 % Exchange on 17 January 2008
 %
-% Updated based on email advice 10 August 2008, by Neil Puttock 
-%  
+% Updated based on email advice 10 July 2008, by Neil Puttock
+%
 %
-% Example 
+% Example
 %
 % dod dob dosd \dwn dob dobsb dodsd do
-% 
+%
 
 dwn = {
   \once \override Voice.Accidental #'stencil = #(lambda (grob)
@@ -28,11 +28,10 @@ dwn = {
           (#:fontsize -1 (#:musicglyph "flags.ugrace")))) -1.3 0))
 }
 
-
-%
 %
-% Arabic maqam groups 
+% Arabic maqam groups
 %
+
 bayati = #`(
     (0 . 0)
     (1 . ,SEMI-FLAT)
index d736bfebb1616f38370f99bdfd29b0eb519944a5..3bad4d832c451ff54d68cc74b920e1a640a1db38 100644 (file)
@@ -660,7 +660,7 @@ Syntax: @code{\\\\}")
 
 (define-safe-public (make-music name . music-properties)
   "Create a music object of given name, and set its properties
-according to @code{music-properties}, a list of alterning property symbols
+according to @code{music-properties}, a list of alternating property symbols
 and values. E.g:
   (make-music 'OverrideProperty
              'symbol 'Stem
@@ -690,6 +690,6 @@ and values. E.g:
                         (cdr handle)
                         (begin
                           (ly:warning (_ "unknown repeat type `~S'") name)
-                          (ly:warning (_ "See music-types.scm for supported repeats"))
+                          (ly:warning (_ "See define-music-types.scm for supported repeats"))
                           'VoltaRepeatedMusic))))
     (make-music music-name)))