shithub: freetype+ttf2subf

Download patch

ref: ce280a22e2be51af15c3c8b88d3ad5e631950870
parent: 5b591e49cf3c87fddeb44acc8a6b6d3a4fbda31a
author: Werner Lemberg <[email protected]>
date: Sun Jun 3 01:58:30 EDT 2007

* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-03  Ismail Dönmez  <[email protected]>
+
+	* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
+
 2007-06-02  Werner Lemberg  <[email protected]>
 
 	* include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header,
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2230,7 +2230,7 @@
 
     if ( FT_IS_SCALABLE( face ) )
     {
-      FT_Long  w, h, scaled_w = 0, scaled_h = 0;
+      FT_Long  w = 0, h = 0, scaled_w = 0, scaled_h = 0;
 
 
       switch ( req->type )