mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Merge pull request #8056 from ivandrofly/feature/ocr-engine-bug
Fix subscript in OcrFixEngine
This commit is contained in:
commit
18903eaeb5
@ -1957,7 +1957,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
|||||||
a = a[0] + a.Substring(1).ToLowerInvariant();
|
a = a[0] + a.Substring(1).ToLowerInvariant();
|
||||||
}
|
}
|
||||||
|
|
||||||
var b = ar[0];
|
var b = ar[1];
|
||||||
if (b == b.ToUpperInvariant())
|
if (b == b.ToUpperInvariant())
|
||||||
{
|
{
|
||||||
b = b[0] + b.Substring(1).ToLowerInvariant();
|
b = b[0] + b.Substring(1).ToLowerInvariant();
|
||||||
|
Loading…
Reference in New Issue
Block a user