git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9841
d7cf8633-e32d-0410-b094-
e92efae38249
}
x += width_of[ch] * dw;
} else {
- //if (!map || map == ft2_oldstyle_map || map->start < ch || map->start + FONT_CHARS_PER_MAP >= ch)
if (!map || map == ft2_oldstyle_map || ch < map->start || ch >= map->start + FONT_CHARS_PER_MAP)
{
map = FontMap_FindForChar(fontmap, ch);
}
x += width_of[ch] * dw;
} else {
- if (!map || map == ft2_oldstyle_map || map->start < ch || map->start + FONT_CHARS_PER_MAP >= ch)
+ if (!map || map == ft2_oldstyle_map || ch < map->start || ch >= map->start + FONT_CHARS_PER_MAP)
{
// new charmap - need to render
if (batchcount)