From 1e807987e870544e07803390cebae68f37acdfe7 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Tue, 10 Dec 2024 11:13:33 +0100 Subject: [PATCH] Update src/midifunctor.cpp Co-authored-by: Andrew Hankinson --- src/midifunctor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/midifunctor.cpp b/src/midifunctor.cpp index 6cc697cf00..149d75fc31 100644 --- a/src/midifunctor.cpp +++ b/src/midifunctor.cpp @@ -718,7 +718,7 @@ FunctorCode GenerateMIDIFunctor::VisitPedal(const Pedal *pedal) { if (!pedal->HasDir()) return FUNCTOR_CONTINUE; - // Check the functor flag - filters should always be there, but just in case we change how it is calle + // Check the functor flag - filters should always be there, but just in case we change how it is called if (!m_controlEvents || !this->GetFilters()) return FUNCTOR_CONTINUE; // Check if the pedal applies to the staff filtered