(svn r25568) -Fix: Non-ICU layouter started new lines with the space which triggered the linebreak.

This commit is contained in:
frosch
2013-07-06 18:55:38 +00:00
parent 8701f523ae
commit 4f94a183ca

View File

@@ -355,7 +355,7 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width)
last_char = this->buffer;
} else {
/* A space is found; perfect place to terminate */
this->buffer = last_space;
this->buffer = last_space + 1;
last_char = last_space;
}
break;