Permalink
Browse files

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

Fix to preserve_interword_spaces work again
  • Loading branch information...
zdenop committed Sep 15, 2017
2 parents 188e1fc + ea557a3 commit e62e8f5f802c0d8f3dd67da993327cdafaee9763
Showing with 1 addition and 1 deletion.
  1. +1 −1 ccstruct/pageres.cpp
View
@@ -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));

0 comments on commit e62e8f5

Please sign in to comment.