mirror of https://github.com/OpenTTD/OpenTTD
(svn r25568) -Fix: Non-ICU layouter started new lines with the space which triggered the linebreak.
parent
3fa1b4e8c3
commit
72a531bc82
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue