fix small bug
diff --git a/src/cache/ftccmap.c b/src/cache/ftccmap.c
index 6f1b8ea..d235f28 100644
--- a/src/cache/ftccmap.c
+++ b/src/cache/ftccmap.c
@@ -309,6 +309,8 @@
query.face_id = desc->face_id;
+ char_code = (FT_UInt32)cmap_index;
+
switch ( desc->type )
{
case FTC_OLD_CMAP_BY_INDEX: