lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tie Crusade - what to do now


From: Frédéric Bron
Subject: Re: Tie Crusade - what to do now
Date: Tue, 20 Aug 2013 06:32:08 +0200

diff --git a/lily/tie.cc b/lily/tie.cc
index 88d3ee4..227ea3f 100644
--- a/lily/tie.cc
+++ b/lily/tie.cc
@@ -99,20 +99,24 @@ Tie::get_column_rank (Grob *me, Direction d)
 {
   Grob *col = 0;
   Spanner *span = dynamic_cast<Spanner *> (me);
   if (!span)
     col = dynamic_cast<Item *> (me)->get_column ();
   else
     {
+      /*
+        WTF? we don't need this if.  We could just write
+        h = span->get_bound (d)
+        */
       Grob *h = head (me, d);
       if (!h)
         h = span->get_bound (d);

Do you mean that head(me, d) always returns nullptr?

Frédéric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]