Refactor variable naming in MatroskaFile

Updated the variable 'ChapterDisplay' to 'chapterDisplay' in the 'GetChapterName' method of the 'MatroskaFile.cs' file. This change adheres to the standard naming convention increasing code readability and maintainability.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
This commit is contained in:
Ivandro Jao 2024-06-27 16:17:45 +01:00 committed by Ivandro Jao
parent 2d946020ff
commit aa7b5b8b51

View File

@ -520,10 +520,10 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Matroska
} }
} }
private string GetChapterName(Element ChapterDisplay) private string GetChapterName(Element chapterDisplay)
{ {
Element element; Element element;
while (_stream.Position < ChapterDisplay.EndPosition && (element = ReadElement()) != null) while (_stream.Position < chapterDisplay.EndPosition && (element = ReadElement()) != null)
{ {
if (element.Id == ElementId.ChapString) if (element.Id == ElementId.ChapString)
{ {