X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftab-note-heads-engraver.cc;h=4d47d77982a33d4ae34dff062a2862f0e11ed395;hb=2ce9d3b0ac456df77a73342fdf802f2e198c3b4e;hp=c4789566cc1af80893aadc7b55422667058f12ad;hpb=058370efc7e9710f149d0f444328bb1fcd7bdec1;p=lilypond.git diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc index c4789566cc..4d47d77982 100644 --- a/lily/tab-note-heads-engraver.cc +++ b/lily/tab-note-heads-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2002--2014 Han-Wen Nienhuys, Jean-Baptiste Lamy , + Copyright (C) 2002--2015 Han-Wen Nienhuys, Jean-Baptiste Lamy , LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -111,12 +111,12 @@ Tab_note_heads_engraver::process_music () bool length_changed = (note_events_.size () != fret_count); vsize index; - if (string_fret_finger != SCM_EOL) + if (!scm_is_null (string_fret_finger)) for (vsize i = 0; i < fret_count; i++) { note_entry = scm_list_ref (string_fret_finger, scm_from_int (i)); string_number = scm_car (note_entry); - if (string_number != SCM_BOOL_F) + if (scm_is_true (string_number)) { fret = scm_cadr (note_entry); fret_label = scm_call_3 (fret_procedure,