diff options
-rw-r--r-- | libass/ass_shaper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 2707b23..5f24c5a 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -100,6 +100,7 @@ static bool check_allocations(ASS_Shaper *shaper, size_t new_size) !ASS_REALLOC_ARRAY(shaper->emblevels, new_size) || !ASS_REALLOC_ARRAY(shaper->cmap, new_size)) return false; + shaper->n_glyphs = new_size; } return true; } |