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
@ -56,7 +56,14 @@ namespace RusticiSoftware.Translator.Utils
|
||||
}
|
||||
else
|
||||
{
|
||||
return children[components[0]].ContainsKey(components[1]);
|
||||
if (children.ContainsKey(components[0]))
|
||||
{
|
||||
return children[components[0]].ContainsKey(components[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user