# HG changeset patch # User rubidium # Date 2013-06-30 07:21:37 # Node ID 83cadc9114463d5053a9e714e6098ddcf7b1b258 # Parent 41fec0dd1f60f984c96f6856ce54bd4d9790513e (svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without space after a newline diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp --- a/src/gfx_layout.cpp +++ b/src/gfx_layout.cpp @@ -324,6 +324,9 @@ ParagraphLayout::Line *ParagraphLayout:: next_run = this->buffer_begin + iter->first + 1; begin = this->buffer; + + last_char = begin; + last_space = NULL; } if (IsWhitespace(c)) last_space = this->buffer;