1
0
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:
Paul Licameli
2019-02-28 07:37:10 -05:00
parent 3eeb91f23a
commit 11c8377460
7 changed files with 45 additions and 54 deletions

View File

@@ -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;
}