Unbreak HB_OPTIONS

Fixes https://github.com/harfbuzz/harfbuzz/issues/1154
This commit is contained in:
Behdad Esfahbod 2018-09-10 18:19:37 +02:00
parent e46c51f1e9
commit 24f1d96224
1 changed files with 3 additions and 0 deletions

View File

@ -67,7 +67,10 @@ hb_options (void)
u.i = _hb_options.get_relaxed ();
if (unlikely (!u.i))
{
_hb_options_init ();
u.i = _hb_options.get_relaxed ();
}
return u.opts;
}