From 7146e5818fc6185d74fcf9b3acfcb0d46f3cf1a6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 12 Mar 2025 20:11:30 -0600 Subject: [PATCH] [kerx] Remove redundant check --- src/hb-aat-layout-kerx-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index bed31327c..d47f01a6d 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -1010,7 +1010,7 @@ struct KerxTable if (HB_DIRECTION_IS_HORIZONTAL (c->buffer->props.direction) != st->u.header.is_horizontal ()) goto skip; - c->machine_glyph_set = accel_data ? &accel_data[i].left_set : &Null(hb_bit_set_t); + c->machine_glyph_set = &accel_data[i].left_set; if (!c->buffer_intersects_machine ()) {