/*
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
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,