]> git.donarmstrong.com Git - lilypond.git/commitdiff
(change_to): formatting.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Feb 2006 01:42:58 +0000 (01:42 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 17 Feb 2006 01:42:58 +0000 (01:42 +0000)
ChangeLog
lily/auto-change-iterator.cc

index 50490729a6b1eced084f3ebefe393bd20546bc3f..50d2c851ae210d039b2b99f3659eebe82b6c7a61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-17  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/auto-change-iterator.cc (change_to): formatting.
+
        * lily/beam.cc (get_default_dir): take extreme note head as input
        for stem direction.
 
index bbf2fe509f0d4e1f8b0b671f7b7c35355778022c..f5c54f224ce37f508faa70e3a905c7d87a592b70 100644 (file)
@@ -63,22 +63,24 @@ Auto_change_iterator::change_to (Music_iterator *it, SCM to_type_sym,
     }
 
   if (current)
-    if (last)
-      {
-       Context *dest
-         = it->get_outlet ()->find_create_context (to_type_sym, to_id, SCM_EOL);
-       current->remove_context (last);
-       dest->add_context (last);
-      }
-    else
-      {
-       /*
-         We could change the current translator's id, but that would make
-         errors hard to catch
-
-       */
-      }
-  else;
+    {
+      if (last)
+       {
+         Context *dest
+           = it->get_outlet ()->find_create_context (to_type_sym, to_id, SCM_EOL);
+         current->remove_context (last);
+         dest->add_context (last);
+       }
+      else
+       {
+         /*
+           We could change the current translator's id, but that would make
+           errors hard to catch
+
+         */
+         ;
+       }
+    }
 }
 
 void