mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 00:50:52 +02:00
addendum
This commit is contained in:
parent
170f92c181
commit
1e4ac7010c
@ -186,7 +186,7 @@ public:
|
|||||||
const ObsoleteMap obsoletes[] = nullptr,
|
const ObsoleteMap obsoletes[] = nullptr,
|
||||||
size_t nObsoletes = 0) const
|
size_t nObsoletes = 0) const
|
||||||
{
|
{
|
||||||
if (!ReadEnum(key, pi, choices))
|
if (!ReadEnum(key, pi, choices, obsoletes, nObsoletes))
|
||||||
{
|
{
|
||||||
*pi = defVal;
|
*pi = defVal;
|
||||||
}
|
}
|
||||||
@ -198,7 +198,7 @@ public:
|
|||||||
const ObsoleteMap obsoletes[] = nullptr,
|
const ObsoleteMap obsoletes[] = nullptr,
|
||||||
size_t nObsoletes = 0) const
|
size_t nObsoletes = 0) const
|
||||||
{
|
{
|
||||||
if (!ReadEnum(key, pi, choices))
|
if (!ReadEnum(key, pi, choices, obsoletes, nObsoletes))
|
||||||
{
|
{
|
||||||
*pi = choices.Index(defVal);
|
*pi = choices.Index(defVal);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user