mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
addendum
This commit is contained in:
parent
170f92c181
commit
1e4ac7010c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user