summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-28 16:29:06 +0200
committerwm4 <wm4@nowhere>2015-08-28 16:29:06 +0200
commit7930755de2136b9e10dcce4bf8d45aa40a0b4810 (patch)
tree61e16ac18816d4a05e3a30f872c946aa4bc33c06 /libass
parent22d100831e59eeb572d316bf110f5ead8cfe9a2f (diff)
downloadlibass-7930755de2136b9e10dcce4bf8d45aa40a0b4810.tar.bz2
libass-7930755de2136b9e10dcce4bf8d45aa40a0b4810.tar.xz
fontselect: fix fallbacks
I broke it.
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_fontselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_fontselect.c b/libass/ass_fontselect.c
index cafe05e..0514d84 100644
--- a/libass/ass_fontselect.c
+++ b/libass/ass_fontselect.c
@@ -522,7 +522,7 @@ static char *select_font(ASS_FontSelector *priv, ASS_Library *library,
// We want to be able to match even if the closest variant
// does not have the requested glyph, but another member
// of the family has the glyph.
- if (!check_glyph(&priv->font_infos[i], code))
+ if (!check_glyph(font, code))
continue;
score_min = score;