mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
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:
parent
c17975b64e
commit
9b613c9b2a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user