Commit 9326cafa9b22aea648e389a80ada1e4f4bac2840

Werner Lemberg 2013-11-23T23:59:25

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.

diff --git a/ChangeLog b/ChangeLog
index 8d56701..49932ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2013-11-23  Werner Lemberg  <wl@gnu.org>
+
+	* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo.
+
 2013-11-21  Werner Lemberg  <wl@gnu.org>
 
-	[truetype] Typo.
+	[sfnt] Typo.
 
 	Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
 
diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index 1ec5aef..890e794 100644
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -976,8 +976,8 @@
           /* an excessive number of bytes in the image: If it is equal to  */
           /* the value for a byte-aligned glyph, use the other loading     */
           /* routine.                                                      */
-          FT_UInt  width = decoder->metrics->width;
-          FT_UInt  height= decoder->metrics->width;
+          FT_UInt  width  = decoder->metrics->width;
+          FT_UInt  height = decoder->metrics->height;
 
 
           if ( height * ( ( width + 7 ) >> 3 ) == (FT_UInt)( p_limit - p ) )