mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
NormalizedKeyString redefined as TaggedIdentifier
This commit is contained in:
@@ -288,7 +288,7 @@ KeyView::GetNameByKey(const NormalizedKeyString & key) const
|
||||
// Search the nodes for the key
|
||||
for (int i = 0; i < cnt; i++)
|
||||
{
|
||||
if (key.NoCaseEqual( mNodes[i].key))
|
||||
if ( key == mNodes[i].key )
|
||||
{
|
||||
return mNodes[i].name;
|
||||
}
|
||||
@@ -308,7 +308,7 @@ KeyView::GetIndexByKey(const NormalizedKeyString & key) const
|
||||
// Search the nodes for the key
|
||||
for (int i = 0; i < cnt; i++)
|
||||
{
|
||||
if (key.NoCaseEqual( mNodes[i].key))
|
||||
if ( key == mNodes[i].key )
|
||||
{
|
||||
return mNodes[i].index;
|
||||
}
|
||||
|
Reference in New Issue
Block a user