summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-open-file-private.hh
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-open-file-private.hh')
-rw-r--r--pango/opentype/hb-open-file-private.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/opentype/hb-open-file-private.hh b/pango/opentype/hb-open-file-private.hh
index 0947747d..080975b7 100644
--- a/pango/opentype/hb-open-file-private.hh
+++ b/pango/opentype/hb-open-file-private.hh
@@ -84,7 +84,8 @@ typedef struct OffsetTable
}
inline bool find_table_index (hb_tag_t tag, unsigned int *table_index) const
{
- const Tag t = tag;
+ Tag t;
+ t.set (tag);
// TODO bsearch
unsigned int count = numTables;
for (unsigned int i = 0; i < count; i++)