Skip to content

Commit

Permalink
Merge pull request #5 from morturp/patch-1
Browse files Browse the repository at this point in the history
Prevent the skip of the glyph if it does not fit
  • Loading branch information
zturtleman committed Jun 26, 2013
2 parents d79fe65 + 213b8e2 commit 817fe14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/renderercommon/tr_font.c
Expand Up @@ -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++;
Expand Down

0 comments on commit 817fe14

Please sign in to comment.