# HG changeset patch # User Matti Hamalainen # Date 1530326414 -10800 # Node ID b99e04c356ecbc02e7916c7d94ecc68514964647 # Parent e987a56e2c6628c138b5f838e578cc2838c49f86 Some dead code was accidentally left in. Delete it. diff -r e987a56e2c66 -r b99e04c356ec tools/fontconv.c --- a/tools/fontconv.c Sat Jun 30 05:37:31 2018 +0300 +++ b/tools/fontconv.c Sat Jun 30 05:40:14 2018 +0300 @@ -340,7 +340,7 @@ { DMBitmapGlyph *glyph = &font->glyphMap[nglyph]; int minx, miny, advance; - SDL_Rect src, dst; + SDL_Rect dst; if (TTF_GlyphMetrics(ttf, nglyph, &minx, NULL, &miny, NULL, &advance) == -1) { @@ -349,16 +349,10 @@ goto out; } - src.x = 0; - src.y = 0; - src.w = tmp->w; - src.h = tmp->h; - dst.x = 0; dst.y = index * font->height; dst.w = tmp->w; dst.h = tmp->h; -// dst.h = font->height; // Set glyph data glyph->width = font->width;