]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/break-substitution.cc
Emit not-quite-cross-staff beams in the right context.
[lilypond.git] / lily / break-substitution.cc
index 588b1cb1541eda80228bef161a8fdb1010bbb4ca..2cd29707d611a1d60c704d0c9615eaa7a73af35c 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2001--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2001--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
@@ -295,8 +295,8 @@ struct Substitution_entry
       }
     else
       {
-       left_ = sr[LEFT];
-       right_ = sr[RIGHT];
+       left_ = (short) sr[LEFT];
+       right_ = (short) sr[RIGHT];
       }
   }
   Substitution_entry ()