mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine.
This commit is contained in:
parent
f0bc464b18
commit
c21062a728
|
@ -363,6 +363,8 @@ static int TruncateString(char *str, int maxw)
|
|||
} else if (c == SCC_BIGFONT) {
|
||||
size = FS_LARGE;
|
||||
ddd = GetCharacterWidth(size, '.') * 3;
|
||||
} else if (c == '\n') {
|
||||
DEBUG(misc, 0, "Drawing string using newlines with DrawString instead of DrawStringMultiLine. Please notify the developers of this: [%s]", str);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue