mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Minor improvements to "Fix common errors" - thx Majid :)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@953 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
b819a4c740
commit
c674c9104b
@ -2240,7 +2240,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
bool fix = true;
|
||||
|
||||
if (prev == ".")
|
||||
if (prev == "." || prev == "'")
|
||||
fix = false;
|
||||
|
||||
if (fix)
|
||||
|
@ -1121,7 +1121,7 @@ namespace Nikse.SubtitleEdit.Logic.OCR
|
||||
List<string> localIgnoreWords = new List<string>();
|
||||
wordsNotFound = 0;
|
||||
|
||||
if (line.Length == 1 && !IsWordKnownOrNumber(line, line))
|
||||
if (promptForFixingErrors && line.Length == 1 && !IsWordKnownOrNumber(line, line))
|
||||
{
|
||||
SpellcheckOcrTextResult res = SpellcheckOcrText(line, bitmap, new string[1] { line}, 0, line, localIgnoreWords);
|
||||
if (res.FixedWholeLine || res.Fixed)
|
||||
|
Loading…
Reference in New Issue
Block a user