Commit f79a7ae0b06de1c33758ff9fad433fa24d8cff4a

Werner Lemberg 2003-05-21T21:47:25

* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday; it has already been fixed differently. * src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around if-clause.

diff --git a/ChangeLog b/ChangeLog
index 7fcd67e..086ade9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,12 @@
 	* src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c
 	(PCF_Face_Init): Test for charset registry case-insensitively.
 
+	* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
+	it has already been fixed differently.
+
+	* src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around
+	if-clause.
+
 2003-05-21  Martin Zinser  <zinser@decus.de>
 
 	* t1load.c (parse_blend_axis_types): Fix compiler warning.
diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c
index 8f37450..d495800 100644
--- a/src/gzip/ftgzip.c
+++ b/src/gzip/ftgzip.c
@@ -479,8 +479,6 @@
 
 
       delta = (FT_ULong)( zip->limit - zip->cursor );
-      if ( delta == 0 )
-        break;
       if ( delta >= count )
         delta = count;
 
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index b305ce6..6e96532 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -2612,8 +2612,10 @@
                     (FT_UShort)args[0],               \
                     CUR.opcode,                       \
                     &CUR.GS.freeVector ) == SUCCESS ) \
+    {                                                 \
       GUESS_VECTOR( projVector );                     \
-      COMPUTE_Funcs();
+      COMPUTE_Funcs();                                \
+    }
 
 
 #define DO_SFVTPV                          \