From f10252b4b637b4aa0b74bb75963ae1e1a41b5b9f Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Mon, 29 Oct 2018 10:29:58 +0330 Subject: [PATCH] [svg] Fix incorrect array referencing --- src/hb-ot-color-svg-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-color-svg-table.hh b/src/hb-ot-color-svg-table.hh index 55629769a..7c342d018 100644 --- a/src/hb-ot-color-svg-table.hh +++ b/src/hb-ot-color-svg-table.hh @@ -106,7 +106,7 @@ struct SVG inline const SVGDocumentIndexEntry &get_glyph_entry (hb_codepoint_t glyph_id) const { - const SortedArrayOf docs = this+svgDocEntries; + const SortedArrayOf &docs = this+svgDocEntries; return docs[docs.bsearch (glyph_id)]; }