mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 11:09:06 +08:00
Merge pull request #1109 from mingodad/mingodad-fix-interword-spaces
Fix to preserve_interword_spaces work again
This commit is contained in:
commit
e62e8f5f80
@ -1331,7 +1331,7 @@ void PAGE_RES_IT::ReplaceCurrentWord(
|
||||
if (input_word->word->flag(W_BOL)) {
|
||||
(*words)[0]->word->set_flag(W_BOL, true);
|
||||
} else {
|
||||
(*words)[0]->word->set_blanks(1);
|
||||
(*words)[0]->word->set_blanks(input_word->word->space());
|
||||
}
|
||||
words->back()->word->set_flag(W_EOL, input_word->word->flag(W_EOL));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user