X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglissando-engraver.cc;h=c7744d1f4b2db3288cbbb252f12ccd0e4b9d4824;hb=aafcc4147ae2fea2ba1d95c7a54963c61f21b963;hp=bb57bf1fcdccc5405842500eb10d478694b1bf61;hpb=60f4e610f5ffb3d5d1201fd5fa258c2b64ac8010;p=lilypond.git diff --git a/lily/glissando-engraver.cc b/lily/glissando-engraver.cc index bb57bf1fcd..c7744d1f4b 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 @@ -110,7 +110,7 @@ Glissando_engraver::acknowledge_note_column (Grob_info info) { extract_grob_set (g, "note-heads", note_heads); SCM map = get_property ("glissandoMap"); - if (map == SCM_EOL) + if (scm_is_null (map)) for (vsize i = 0; i < note_heads.size (); i++) { note_column_1.push_back (i); @@ -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));