From 9326cafa9b22aea648e389a80ada1e4f4bac2840 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 23 Nov 2013 23:59:25 +0100 Subject: [PATCH] * src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo. --- ChangeLog | 6 +++++- src/sfnt/ttsbit.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d5670152..49932ed40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ +2013-11-23 Werner Lemberg + + * src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap): Typo. + 2013-11-21 Werner Lemberg - [truetype] Typo. + [sfnt] Typo. Problem reported by Hin-Tak Leung . diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c index 1ec5aef39..890e7947d 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 ) )