]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.65
authorfred <fred>
Tue, 26 Mar 2002 21:51:10 +0000 (21:51 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:51:10 +0000 (21:51 +0000)
lily/change-iterator.cc

index 9d9bf43af76f19ddb5e4627763d3af1fcc4b2695..2ea397cb7228a7d5805820293e97670643f5e512 100644 (file)
@@ -50,7 +50,12 @@ Change_iterator::do_process_and_next (Moment m)
       last = current;
       current = current->daddy_trans_l_;
     }
-  
+
+  if (current && current->id_str_ == to_id)
+    {
+      String msg;
+      msg += "Cannot switch  translators, I'm there already.";
+    }
   
   if (current) 
     if (last)