Authored by Anderson Dsouza

Minor bug fix - handling similar filenames.

... ... @@ -131,7 +131,7 @@ namespace Resx2Xls
if (!IsResxCultureSpecific_checkByFilePath(f))
{
string filePathWOExt = f.Replace(".resx", "");
var cultureSpecificFiles = Array.FindAll<string>(files, a => a != f && a.Substring(0, filePathWOExt.Length) == filePathWOExt);
var cultureSpecificFiles = Array.FindAll<string>(files, a => a != f && a.Length > filePathWOExt.Length && a.Substring(filePathWOExt.Length,1)=="." && a.Substring(0, filePathWOExt.Length) == filePathWOExt);
ResxData.ResxFilesMasterRow r = rd.ResxFilesMaster.NewResxFilesMasterRow();
r.FileSource = f;
... ...