From 0a18efd766b3b6cc987ee18785f7858fe2bd1c67 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 26 Jul 2019 14:34:26 -0700 Subject: [PATCH] Minor --- src/hb-ot-layout-gsub-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index a6cc1a2..84e1b15 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -248,7 +248,7 @@ struct SingleSubst if (unlikely (!c->extend_min (u.format))) return_trace (false); unsigned format = 2; unsigned delta = 0; - if (glyphs.len ()) + if (glyphs) { format = 1; auto get_delta = [=] (hb_codepoint_pair_t _) { -- 2.7.4