summaryrefslogtreecommitdiff
path: root/src/sfnt/ttsbit.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2018-08-10 21:24:40 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2018-08-10 21:24:40 -0400
commit88c0e12109f4059b8ce45797c71b50218c141462 (patch)
treecaf6e62e8905d8327bf6786b5f6e231354a38ebd /src/sfnt/ttsbit.c
parent96b5e500909cfce39ff78feabefd8063a229b951 (diff)
downloadfreetype2-88c0e12109f4059b8ce45797c71b50218c141462.tar.gz
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_compound): Follow specs.
Diffstat (limited to 'src/sfnt/ttsbit.c')
-rw-r--r--src/sfnt/ttsbit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index 322c000e8..209e8b061 100644
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -1014,8 +1014,8 @@
for ( nn = 0; nn < num_components; nn++ )
{
FT_UInt gindex = FT_NEXT_USHORT( p );
- FT_Byte dx = FT_NEXT_BYTE( p );
- FT_Byte dy = FT_NEXT_BYTE( p );
+ FT_Char dx = FT_NEXT_CHAR( p );
+ FT_Char dy = FT_NEXT_CHAR( p );
/* NB: a recursive call */