mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
fix for ContainsKey
This commit is contained in:
parent
b336ae4ffe
commit
f9aedc1607
@ -55,9 +55,16 @@ namespace RusticiSoftware.Translator.Utils
|
|||||||
return leaves.ContainsKey(components[0]);
|
return leaves.ContainsKey(components[0]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (children.ContainsKey(components[0]))
|
||||||
{
|
{
|
||||||
return children[components[0]].ContainsKey(components[1]);
|
return children[components[0]].ContainsKey(components[1]);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// public IDictionaryEnumerator GetEnumerator()
|
// public IDictionaryEnumerator GetEnumerator()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user