Commit 72eb270ac71e8c76e7aefc9a8d3a39fb510602f1

Suzuki, Toshiya (鈴木俊哉) 2008-10-04T17:49:58

* Remove wrong initialization in `ft_lookup_PS_in_sfnt_stream'

diff --git a/ChangeLog b/ChangeLog
index b178e6b..149f9f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-04  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
+
+	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt_stream): Remove wrong
+	initialization of *is_sfnt_cid.
+
 2008-10-04  Werner Lemberg  <wl@gnu.org>
 
 	* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 4a4629a..15afd99 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1339,10 +1339,9 @@
 
     *offset = 0;
     *length = 0;
+    *is_sfnt_cid = FALSE;
 
-    *is_sfnt_cid = TRUE;
     /* TODO: support for sfnt-wrapped PS/CID in TTC format */
-    *is_sfnt_cid = FALSE;
 
     /* version check for 'typ1' (should be ignored?) */
     if ( FT_READ_ULONG( tag ) )