mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Set uses of invariant rule for file extension
This commit is contained in:
parent
8847d29281
commit
456a2aebe4
@ -318,4 +318,4 @@ namespace Nikse.SubtitleEdit.Core
|
||||
return ((File.GetAttributes(path) & FileAttributes.Directory) == FileAttributes.Directory);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user