add bad char support

This commit is contained in:
Glenn Maynard
2003-01-06 04:23:41 +00:00
parent a0f664ad35
commit de0f656d27
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -415,6 +415,8 @@ Font* FontManager::LoadFont( const CString &sFontOrTextureFilePath, CString sCha
CharAliases["menuright"] = 0x100007;
CharAliases["start"] = 0x100008;
CharAliases["invalid"] = INVALID_CHAR; /* 0xFFFFFF */
for(aliasmap::const_iterator i = CharAliases.begin(); i != CharAliases.end(); ++i)
{
CString from = ssprintf("&%s;", i->first.GetString());