fnt2bdf: Remove variable dpi which is not really used from dump_bdf_hdr.

This commit is contained in:
Gerald Pfeifer 2010-04-23 20:42:32 +02:00 committed by Alexandre Julliard
parent cfd18661ef
commit 878df9a7e6
1 changed files with 1 additions and 2 deletions

View File

@ -445,7 +445,7 @@ int l_ascent = return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfAscent);
if( l_nameoffset && if( l_nameoffset &&
l_nameoffset < return_data_value(dfLong, &cpe_font_struct->hdr.dfSize) ) 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; char* lpFace = (char*)(file_buffer + l_nameoffset), *lpChar;
short tmWeight = return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfWeight); 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 */ /* y extents */
point_size = 10 * return_data_value(dfShort, &cpe_font_struct->hdr.fi.dfPoints ); 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, fprintf(fs, "%d-%d-%d-%d-",l_cellheight, point_size,
return_data_value (dfShort, &cpe_font_struct->hdr.fi.dfHorizRes), return_data_value (dfShort, &cpe_font_struct->hdr.fi.dfHorizRes),