Changeset - r11764:c2dcdf62f821
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-04-26 14:40:23
rubidium@openttd.org
(svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -363,6 +363,8 @@ static int TruncateString(char *str, int
 
			} 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);
 
			}
 
		}
 

	
0 comments (0 inline, 0 general)