1
0
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:
Kevin Glynn 2011-01-07 16:09:06 +01:00
parent b336ae4ffe
commit f9aedc1607

View File

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