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

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:24 CDT 2010


Module: wine
Branch: master
Commit: 878df9a7e629936d18a558a6251d17bdc655d665
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=878df9a7e629936d18a558a6251d17bdc655d665

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Apr 23 20:42:32 2010 +0200

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

---

 tools/fnt2bdf.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tools/fnt2bdf.c b/tools/fnt2bdf.c
index 89e24c8..4dc20e5 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),




More information about the wine-cvs mailing list