Fix option string matching

This commit is contained in:
Behdad Esfahbod committed 2018-10-10 18:59:07 -04:00
1 parent 5d34164d98
commit 7e6e5bf614
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ _hb_options_init (void)
p = c + strlen (c);
#define OPTION(name, symbol) \
if (0 == strncmp (c, name, p - c)) u.opts.symbol = true;
if (0 == strncmp (c, name, p - c) && strlen (name) == p - c) u.opts.symbol = true;
OPTION ("uniscribe-bug-compatible", uniscribe_bug_compatible);
OPTION ("aat", aat);