(svn r16159) -Change [FS#2846]: warn when multiline strings are drawn with DrawString and not DrawStringMultiLine.

This commit is contained in:
rubidium 2009-04-26 14:40:23 +00:00
parent f0bc464b18
commit c21062a728
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}