[util] Fix option parsing
Wow, who knew bool is one byte and I was using it as a 4byte int?!
C++ auto casts fails you in mysterious ways...
diff --git a/util/options.cc b/util/options.cc
index 97be635..4429e85 100644
--- a/util/options.cc
+++ b/util/options.cc
@@ -48,7 +48,7 @@
}
-bool debug = FALSE;
+hb_bool_t debug = FALSE;
static gchar *
shapers_to_string (void)
@@ -644,6 +644,7 @@
{
if (i)
g_string_append_c (gs, '|');
+
char glyph_name[30];
if (show_glyph_names && !FT_Get_Glyph_Name (ft_face, info->codepoint, glyph_name, sizeof (glyph_name)))
g_string_append_printf (gs, "%s", glyph_name);