Merge pull request #1109 from mingodad/mingodad-fix-interword-spaces

Fix to preserve_interword_spaces work again
This commit is contained in:
zdenop 2017-09-15 08:45:21 +02:00 committed by GitHub
commit e62e8f5f80

View File

@ -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));