]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/accidental-engraver.cc
* Documentation/user/notation.itely: fixed 2 typos
[lilypond.git] / lily / accidental-engraver.cc
index d2182a4b1d2f8276ae2b93caa8f6f47828922ab4..648b1ccf8b0ec089f8a90ff8a6b5ac15673b33df 100644 (file)
@@ -300,7 +300,7 @@ Accidental_engraver::get_bar_number ()
 
   int bn = robust_scm2int (barnum, 0);
   
-  Moment mp = (unsmob_moment (smp)) ? *unsmob_moment (smp) : Moment (0);
+  Moment mp = robust_scm2moment (smp,  Moment (0));
   if (mp.main_part_ < Rational (0))
     bn--;