diff options
author | Grigori Goronzy <greg@blackbox> | 2011-07-16 03:13:26 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-07-16 03:13:26 +0200 |
commit | c3167c0876ba3f727075a5c44797780a0a334477 (patch) | |
tree | 2d853ff48d65b2de5aa50e07748bae00a970d8c6 | |
parent | 77c23cf30a08663689b6cecc93ccf9de88e79b4b (diff) | |
download | libass-c3167c0876ba3f727075a5c44797780a0a334477.tar.bz2 libass-c3167c0876ba3f727075a5c44797780a0a334477.tar.xz |
Set requested font face correctly
-rw-r--r-- | libass/ass_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c index d65b9763..21ad297d 100644 --- a/libass/ass_font.c +++ b/libass/ass_font.c @@ -446,7 +446,7 @@ int ass_font_get_index(void *fcpriv, ASS_Font *font, uint32_t symbol, // try with the requested face if (*face_index < font->n_faces) { - face = font->faces[i]; + face = font->faces[*face_index]; index = FT_Get_Char_Index(face, symbol); } |