Changeset - r11246:b5f39f0521f0
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-03-02 21:01:19
yexo@openttd.org
(svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/statusbar_gui.cpp
Show inline comments
 
@@ -40,7 +40,7 @@ static bool DrawScrollingStatusText(cons
 
		WChar c = Utf8Consume(&s);
 
		if (c == 0) {
 
			break;
 
		} else if (c == 0x0D) {
 
		} else if (c == '\n') {
 
			if (d + 4 >= last) break;
 
			d[0] = d[1] = d[2] = d[3] = ' ';
 
			d += 4;
0 comments (0 inline, 0 general)