mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Fix typo in code comment
A typo in the comment for the subtitle file location function was corrected. Previously, the comment read "try locate subtitle file for the input vide file", and now it reads "try to locate subtitle file for the input vide file". Other changes include removal of an unused variable "fileNameNoExt". Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
This commit is contained in:
parent
c3af5f22ca
commit
82ac6dec92
@ -2146,9 +2146,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
item.VideoFileSizeInBytes = new FileInfo(videoFileName).Length;
|
||||
|
||||
var path = Path.GetDirectoryName(videoFileName);
|
||||
var fileNameNoExt = Path.GetFileNameWithoutExtension(videoFileName);
|
||||
|
||||
// try locate subtitle file for the input vide file
|
||||
// try to locate subtitle file for the input vide file
|
||||
var subtitleFile = FileUtil.TryLocateSubtitleFile(path, videoFileName);
|
||||
if (File.Exists(subtitleFile))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user