mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 17:41:13 +02:00
addendum
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user