]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/partial-iterator.cc
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / lily / partial-iterator.cc
index 681479a69efb9b4b587025f81241608184d5c294..9ed7debe2f0820d8f66e0c21abb0d9dab76dda53 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2012 Neil Puttock <n.puttock@gmail.com>
+  Copyright (C) 2010--2014 Neil Puttock <n.puttock@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -58,7 +58,7 @@ Partial_iterator::process (Moment m)
           Moment mp = robust_scm2moment (timing->get_property ("measurePosition"),
                                          Rational (0));
 
-          if (mp.main_part_ > Rational (0))
+          if (get_outlet ()->now_mom () > 0)
             mp.main_part_ = measure_length (timing);
           else
             mp.main_part_ = 0;