]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam-quanting.cc
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / lily / beam-quanting.cc
index ac845103ea8f56c75d608da171224756b557314e..b5cf0a2fc0ed359d77132bd67b61374fe0f6e7e1 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -651,7 +651,7 @@ Beam_scoring_problem::calc_concaveness ()
   if (scm_is_number (conc))
     return scm_to_double (conc);
 
-  if (is_knee_)
+  if (is_knee_ || is_xstaff_)
     return 0.0;
 
   Direction beam_dir = CENTER;