X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglissando-engraver.cc;h=35ff94228a8912e0a35eb1cc984fcb7fc3a801f9;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=bb57bf1fcdccc5405842500eb10d478694b1bf61;hpb=3ef893f1fe182e9f6cf5841cbff0706789bd3361;p=lilypond.git diff --git a/lily/glissando-engraver.cc b/lily/glissando-engraver.cc index bb57bf1fcd..35ff94228a 100644 --- a/lily/glissando-engraver.cc +++ b/lily/glissando-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2000--2011 Jan Nieuwenhuizen + Copyright (C) 2000--2015 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -124,7 +124,7 @@ Glissando_engraver::acknowledge_note_column (Grob_info info) continue; int n1 = robust_scm2int (scm_car (candidate), -1); int n2 = robust_scm2int (scm_cdr (candidate), -1); - if ((n1 < 0) || (n2 < 0) || (size_t(n1) >= note_heads.size ())) + if ((n1 < 0) || (n2 < 0) || (size_t (n1) >= note_heads.size ())) continue; note_column_1.push_back (vsize (n1)); note_column_2.push_back (vsize (n2));