Changeset - r20503:83cadc911446
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-06-30 07:21:37
rubidium@openttd.org
(svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without space after a newline
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx_layout.cpp
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)