1
0
Fork 0

(svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without space after a newline

release/1.4
rubidium 2013-06-30 07:21:37 +00:00
parent 4fbcb73166
commit ea5d35a896
1 changed files with 3 additions and 0 deletions

View File

@ -324,6 +324,9 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width)
next_run = this->buffer_begin + iter->first + 1;
begin = this->buffer;
last_char = begin;
last_space = NULL;
}
if (IsWhitespace(c)) last_space = this->buffer;