Skip to content

Commit

Permalink
fix space issue in revision 36883b4
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Jan 30, 2015
1 parent 36883b4 commit 9bca55c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccmain/resultiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ void ResultIterator::IterateAndAppendUTF8TextlineText(STRING *text) {

int words_appended = 0;
do {
int numSpaces = preserve_interword_spaces_ ? it_->word()->word->space() : 1;
int numSpaces = preserve_interword_spaces_ ? it_->word()->word->space() :
(words_appended > 0);
for(int i = 0 ; i < numSpaces ; ++i) {
*text += " ";
}
Expand Down

0 comments on commit 9bca55c

Please sign in to comment.