Fixed minor bug when loading local names list

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@146 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2010-11-13 21:03:22 +00:00
parent 44d7816793
commit c1f1251c6f

View File

@ -1251,7 +1251,7 @@ namespace Nikse.SubtitleEdit.Logic
internal static string LoadLocalNamesEtc(List<string> namesEtcList, List<string> namesEtcMultiWordList, string languageName)
{
string userNamesEtcXmlFileName = DictionaryFolder + languageName + "_names_etc.xml";
if (!File.Exists(userNamesEtcXmlFileName) && languageName.Length == 2)
if (languageName.Length == 2)
{
string[] files = Directory.GetFiles(DictionaryFolder, languageName + "_??_names_etc.xml");
if (files.Length > 0)