remove warning

This commit is contained in:
Thomas Bernard 2018-12-17 11:28:51 +01:00
parent 2549598fc9
commit 14fcd342f7

View File

@ -292,6 +292,7 @@ static int CALLBACK EnumFontFamCallback(CONST LOGFONTA *lpelf, CONST TEXTMETRICA
char type[3] = { ' ', ' ', '\0' }; char type[3] = { ' ', ' ', '\0' };
T_Font * font; T_Font * font;
(void)lParam; // we don't use the custom callback param
if (FontType & TRUETYPE_FONTTYPE) if (FontType & TRUETYPE_FONTTYPE)
type[0] = type[1] = 'T'; type[0] = type[1] = 'T';
else if (FontType & RASTER_FONTTYPE) else if (FontType & RASTER_FONTTYPE)