]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-check-iterator.cc
release: 1.5.46
[lilypond.git] / lily / bar-check-iterator.cc
index bc01898832db6b1ff8012639596640b6f39799b7..b916066f6a7e894d35edaf47b0c0bc9c4588e369 100644 (file)
@@ -56,15 +56,13 @@ Bar_check_iterator::process (Moment m)
       if (where->main_part_)
        {
          music_l ()->origin ()->warning (_f ("barcheck failed at: %s", 
-                                           where->str ()));
-       }
-      
-      if (!to_boolean (sync))
-       {
-         tr = tr->where_defined (ly_symbol2scm("measurePosition"));
-         Moment zero;
-         tr->set_property ("measurePosition", zero.smobbed_copy ());
+                                             where->str ()));
+         if (!to_boolean (sync))
+           {
+             tr = tr->where_defined (ly_symbol2scm("measurePosition"));
+             Moment zero;
+             tr->set_property ("measurePosition", zero.smobbed_copy ());
+           }
        }
     }
-}
-    
+}