(svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar.

This commit is contained in:
yexo 2009-03-02 21:01:19 +00:00
parent 9ff4ae0f5d
commit 6dd3703a4c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ static bool DrawScrollingStatusText(const NewsItem *ni, int pos, int width)
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;