Fix line endings.

This commit is contained in:
Colby Klein
2012-12-27 19:01:26 -08:00
parent f8865e8de3
commit f94302c02a
+9 -9
View File
@@ -285,15 +285,15 @@ void Font::MergeFont(Font &f)
const glyph &Font::GetGlyph( wchar_t c ) const
{
/* XXX: This is kind of nasty, but the parts that touch this are dark and
* scary. --Colby
*
* Snagged from OpenITG, original comment:
* shooting a blank really...DarkLink kept running into the stupid assert
* with non-roman song titles, and looking at it, I'm gonna guess that
* this is how ITG2 prevented crashing with them --infamouspat */
//ASSERT(c >= 0 && c <= 0xFFFFFF);
if (c < 0 || c > 0xFFFFFF)
/* XXX: This is kind of nasty, but the parts that touch this are dark and
* scary. --Colby
*
* Snagged from OpenITG, original comment:
* shooting a blank really...DarkLink kept running into the stupid assert
* with non-roman song titles, and looking at it, I'm gonna guess that
* this is how ITG2 prevented crashing with them --infamouspat */
//ASSERT(c >= 0 && c <= 0xFFFFFF);
if (c < 0 || c > 0xFFFFFF)
c = 1;
// Fast path: