/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
get_grob_direction (Grob *me)
{
SCM d = me->get_property ("direction");
- if (d == ly_symbol2scm ("calculation-in-progress"))
+ if (scm_is_eq (d, ly_symbol2scm ("calculation-in-progress")))
{
programming_error ("Grob direction requested while calculation in"
- " progress. ");
+ " progress.");
return UP;
}
if (!is_direction (d))