X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgregorian-ligature-engraver.cc;h=ad8b423eb58ec4d51d74b350369601067d35bf99;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=3d63fc44113ce8ffbbca1a8781905abfb27a04f8;hpb=5bbfc22fce036b9b69df5e420de93e11da23c05e;p=lilypond.git diff --git a/lily/gregorian-ligature-engraver.cc b/lily/gregorian-ligature-engraver.cc index 3d63fc4411..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 = Pitch::unsmob (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)