mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[svg] Fix incorrect array referencing
This commit is contained in:
parent
5eb251aab0
commit
f10252b4b6
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ struct SVG
|
|||
|
||||
inline const SVGDocumentIndexEntry &get_glyph_entry (hb_codepoint_t glyph_id) const
|
||||
{
|
||||
const SortedArrayOf<SVGDocumentIndexEntry> docs = this+svgDocEntries;
|
||||
const SortedArrayOf<SVGDocumentIndexEntry> &docs = this+svgDocEntries;
|
||||
return docs[docs.bsearch (glyph_id)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue