mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
(svn r25568) -Fix: Non-ICU layouter started new lines with the space which triggered the linebreak.
This commit is contained in:
@@ -355,7 +355,7 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width)
|
|||||||
last_char = this->buffer;
|
last_char = this->buffer;
|
||||||
} else {
|
} else {
|
||||||
/* A space is found; perfect place to terminate */
|
/* A space is found; perfect place to terminate */
|
||||||
this->buffer = last_space;
|
this->buffer = last_space + 1;
|
||||||
last_char = last_space;
|
last_char = last_space;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user