/*
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
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;