]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-note-heads-engraver.cc
LSR Update
[lilypond.git] / lily / tab-note-heads-engraver.cc
index b899ac4cda140d45805d1f9612ac100f8ad7d83e..4d47d77982a33d4ae34dff062a2862f0e11ed395 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2002--2011 Han-Wen Nienhuys, Jean-Baptiste Lamy <jiba@tuxfamily.org>,
+  Copyright (C) 2002--2015 Han-Wen Nienhuys, Jean-Baptiste Lamy <jiba@tuxfamily.org>,
 
   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,