X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgregorian-ligature-engraver.cc;h=ad8b423eb58ec4d51d74b350369601067d35bf99;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=9d070ad99782062d50794e45227a768896d70919;hpb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;p=lilypond.git diff --git a/lily/gregorian-ligature-engraver.cc b/lily/gregorian-ligature-engraver.cc index 9d070ad997..ad8b423eb5 100644 --- a/lily/gregorian-ligature-engraver.cc +++ b/lily/gregorian-ligature-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2003--2014 Juergen Reuter + Copyright (C) 2003--2015 Juergen Reuter LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,7 +42,8 @@ * engravers for Gregorian chant will be added in the future, such as * Medicaea_ligature_engraver or Hufnagel_ligature_engraver. */ -Gregorian_ligature_engraver::Gregorian_ligature_engraver () +Gregorian_ligature_engraver::Gregorian_ligature_engraver (Context *c) + : Coherent_ligature_engraver (c) { pes_or_flexa_req_ = 0; } @@ -215,7 +216,7 @@ provide_context_info (vector const &primitives) Grob *primitive = primitives[i].grob (); Stream_event *event_cause = primitives[i].event_cause (); int context_info = 0; - int pitch = unsmob_pitch (event_cause->get_property ("pitch"))->steps (); + int pitch = unsmob (event_cause->get_property ("pitch"))->steps (); int prefix_set = scm_to_int (primitive->get_property ("prefix-set")); if (prefix_set & PES_OR_FLEXA)