small fixes

This commit is contained in:
Glenn Maynard
2003-01-07 04:02:57 +00:00
parent aaca29fa5f
commit a1f7624847
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ FontManager::~FontManager()
* character; game 0 is 0x01nnnnnn, game 1 is 0x02nnnnnn, and so on. */
longchar FontManager::MakeGameGlyph(longchar c, Game g)
{
ASSERT(g >= 0 && g <= 0xFF && c >= 0 && c <= 0xFFFFFF);
return ((g+1) << 24) + c;
ASSERT(g >= 0 && g <= 0xFF && c >= 0 && c <= 0xFFFF);
return longchar (((g+1) << 24) + c);
}
bool FontManager::ExtractGameGlyph(longchar ch, int &c, Game &g)