Merge pull request #5 from morturp/patch-1

Prevent the skip of the glyph if it does not fit
This commit is contained in:
Zack Middleton 2013-06-26 11:53:54 -07:00
commit 817fe14dcb

View file

@ -503,7 +503,8 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
xOut = 0;
yOut = 0;
ri.Free(imageBuff);
i++;
if(i == GLYPH_END)
i++;
} else {
Com_Memcpy(&font->glyphs[i], glyph, sizeof(glyphInfo_t));
i++;