Fix subscript in OcrFixEngine

The index for array 'ar' was incorrectly set to 0. This commit corrects the subscript to 1, ensuring that the variable 'b' is correctly assigned.
This commit is contained in:
Ivandro Jao 2024-03-22 23:23:36 +00:00
parent c17975b64e
commit 9b613c9b2a

View File

@ -1957,7 +1957,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
a = a[0] + a.Substring(1).ToLowerInvariant();
}
var b = ar[0];
var b = ar[1];
if (b == b.ToUpperInvariant())
{
b = b[0] + b.Substring(1).ToLowerInvariant();