src/hb-debug.hh |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 24f1d9622489a016904314a5d4e3c637da2e1c77
Author: Behdad Esfahbod <beh...@behdad.org>
Date:   Mon Sep 10 18:19:37 2018 +0200

    Unbreak HB_OPTIONS
    
    Fixes https://github.com/harfbuzz/harfbuzz/issues/1154

diff --git a/src/hb-debug.hh b/src/hb-debug.hh
index 49663d21..12b6c49a 100644
--- a/src/hb-debug.hh
+++ b/src/hb-debug.hh
@@ -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;
 }
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to