fixed handling of null strings in CLanguage.cs

This commit is contained in:
Alexander Eckart committed 2012-03-12 18:28:11 +01:00
1 parent e3955685a3
commit 19276c7a32
1 file changed
+3
+3
View File
@@ -77,6 +77,9 @@ namespace Vocaluxe.Base
public static string Translate(string KeyWord)
{
if (KeyWord == null)
return null;
if (KeyWord.Length < 3)
return KeyWord;