From 878df9a7e629936d18a558a6251d17bdc655d665 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 23 Apr 2010 20:42:32 +0200 Subject: [PATCH] fnt2bdf: Remove variable dpi which is not really used from dump_bdf_hdr. --- tools/fnt2bdf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/fnt2bdf.c b/tools/fnt2bdf.c index 89e24c805e2..4dc20e55844 100644 --- a/tools/fnt2bdf.c +++ b/tools/fnt2bdf.c @@ -445,7 +445,7 @@ int l_ascent = return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfAscent); if( l_nameoffset && l_nameoffset < return_data_value(dfLong, &cpe_font_struct->hdr.dfSize) ) { - int dpi, point_size; + int point_size; char* lpFace = (char*)(file_buffer + l_nameoffset), *lpChar; short tmWeight = return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfWeight); @@ -479,7 +479,6 @@ int l_ascent = return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfAscent); /* y extents */ point_size = 10 * return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfPoints ); - dpi = (l_cellheight * 720) / point_size; fprintf(fs, "%d-%d-%d-%d-",l_cellheight, point_size, return_data_value (dfShort, &cpe_font_struct->hdr.fi.dfHorizRes),