Set uses of invariant rule for file extension

This commit is contained in:
ivandrofly 2015-06-14 23:22:13 +00:00
parent 8847d29281
commit 456a2aebe4
2 changed files with 2 additions and 2 deletions

View File

@ -318,4 +318,4 @@ namespace Nikse.SubtitleEdit.Core
return ((File.GetAttributes(path) & FileAttributes.Directory) == FileAttributes.Directory);
}
}
}
}

View File

@ -1679,7 +1679,7 @@ namespace Nikse.SubtitleEdit.Forms
if (File.Exists(fileName))
{
bool videoFileLoaded = false;
string ext = Path.GetExtension(fileName).ToLower();
var ext = Path.GetExtension(fileName).ToLowerInvariant();
// save last first visible index + first selected index from listview
if (!string.IsNullOrEmpty(_fileName))