summaryrefslogtreecommitdiffstats
path: root/libass/ass_shaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_shaper.c')
-rw-r--r--libass/ass_shaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c
index 4d4104e..944603e 100644
--- a/libass/ass_shaper.c
+++ b/libass/ass_shaper.c
@@ -239,7 +239,7 @@ get_glyph(hb_font_t *font, void *font_data, hb_codepoint_t unicode,
// rotate glyph advances for @fonts while we still know the Unicode codepoints
if (*glyph != 0)
- get_cached_metrics(metrics_priv, face, unicode, glyph);
+ get_cached_metrics(metrics_priv, face, unicode, *glyph);
return *glyph != 0;
}