]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beaming-pattern.cc
Doc-hu: Updated macros for web
[lilypond.git] / lily / beaming-pattern.cc
index 7567caa700744a3b72dd23b479d230ecd7ca57ac..b823d2ecdaafb7e1c84d8a1c291601c993fb80cd 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -189,7 +189,7 @@ Beaming_pattern::find_rhythmic_importance (Beaming_options const &options)
              // in an 8th-note triplet with a quarter-note beat, 1/3 of a beat should be
              // more important than 1/2.
              if (infos_[i].rhythmic_importance_ >= 0)
-               infos_[i].rhythmic_importance_ = (dt / options.base_moment_).den ();
+               infos_[i].rhythmic_importance_ = (int) (dt / options.base_moment_).den ();
 
              i++;
            }