/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1998--2014 Jan Nieuwenhuizen <janneke@gnu.org>
+ Copyright (C) 1998--2015 Jan Nieuwenhuizen <janneke@gnu.org>
Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
Grob *last = 0;
for (vsize i = 0; i < numbers_.size (); i++)
{
- if (scm_from_int (d) == numbers_[i]->get_property ("direction"))
+ if (scm_is_eq (scm_from_int (d),
+ numbers_[i]->get_property ("direction")))
{
if (last)
Side_position_interface::add_support (numbers_[i], last);
-- jneem */
if (bar_seen_)
{
- Grob *cmc = unsmob_grob (get_property ("currentCommandColumn"));
+ Grob *cmc = unsmob<Grob> (get_property ("currentCommandColumn"));
/* Ugh, this is a kludge - need this for multi-measure-rest-grace.ly */
last_command_item_ = dynamic_cast<Item *> (cmc);
numbers_.clear ();
Grob *last = last_numbers_.size () ? last_numbers_[0] : 0;
- if (last && last->get_property ("text") == SCM_EOL)
+ if (last && scm_is_null (last->get_property ("text")))
{
SCM thres = get_property ("restNumberThreshold");
int t = 1;