]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem-tremolo.cc
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / lily / stem-tremolo.cc
index 5c5ee051d4a7bc582ae1baefdee604bbafc1d855..8879456fbe8285576c1959127c54d9777bd33678 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>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -314,7 +314,7 @@ Stem_tremolo::y_offset (Grob *me, bool pure)
     }
 
   bool whole_note = Stem::duration_log (stem) <= 0;
-  if (whole_note)
+  if (whole_note || isinf(end_y))
     {
       /* we shouldn't position relative to the end of the stem since the stem
          is invisible */