]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-check-iterator.cc
* lily/context.cc (where_defined): also assign value in
[lilypond.git] / lily / bar-check-iterator.cc
index bc617a3d11020ea0c3e2e56ef8b6b39c985d4328..92a9dc988c0dd958eb50944058218a26aa826600 100644 (file)
@@ -53,7 +53,8 @@ Bar_check_iterator::process (Moment m)
          bool warn = true;
          if (to_boolean (sync))
            {
-             tr = tr->where_defined (ly_symbol2scm ("measurePosition"));
+             SCM mp; 
+             tr = tr->where_defined (ly_symbol2scm ("measurePosition"), &mp);
              Moment zero;
              tr->set_property ("measurePosition", zero.smobbed_copy ());
            }