Unbreak HB_OPTIONS
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 10 Sep 2018 16:19:37 +0000 (18:19 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 10 Sep 2018 16:19:37 +0000 (18:19 +0200)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1154

src/hb-debug.hh

index 49663d2..12b6c49 100644 (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;
 }