From 9ee7c2ea63416a6e7e98461d9b5480e7af22c427 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Apr 2023 16:13:54 -0600 Subject: [PATCH] [cmap] Minor remove magic number --- src/hb-ot-cmap-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index ce419cbed..cf5ccd53e 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -413,7 +413,7 @@ struct CmapSubtableFormat4 const HBUINT16 *found = hb_bsearch (codepoint, this->endCount, this->segCount, - 2, + sizeof (CustomRange), _hb_cmp_method, this->segCount + 1); if (unlikely (!found))