From 1e4ac7010c71bcebb48fe1179bd860eb0d3807b2 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 26 Mar 2018 14:29:40 -0400 Subject: [PATCH] addendum --- include/audacity/EffectAutomationParameters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/audacity/EffectAutomationParameters.h b/include/audacity/EffectAutomationParameters.h index a7ff21249..a54c9766a 100644 --- a/include/audacity/EffectAutomationParameters.h +++ b/include/audacity/EffectAutomationParameters.h @@ -186,7 +186,7 @@ public: const ObsoleteMap obsoletes[] = nullptr, size_t nObsoletes = 0) const { - if (!ReadEnum(key, pi, choices)) + if (!ReadEnum(key, pi, choices, obsoletes, nObsoletes)) { *pi = defVal; } @@ -198,7 +198,7 @@ public: const ObsoleteMap obsoletes[] = nullptr, size_t nObsoletes = 0) const { - if (!ReadEnum(key, pi, choices)) + if (!ReadEnum(key, pi, choices, obsoletes, nObsoletes)) { *pi = choices.Index(defVal); }