diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-10-30 14:53:56 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-10-30 14:53:56 -0700 |
commit | 954473b4014bc17f46c68c706e1de573f87779df (patch) | |
tree | d72518339603969151e502eae7f0d59ada790793 | |
parent | bfd549daaa078e7edba5a65971b1d3e872664f2d (diff) | |
download | harfbuzz-test-str-literal-constness.tar.gz |
[DO NOT COMMIT] Testtest-str-literal-constness
-rw-r--r-- | src/hb-ot-layout-common.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 7b1d39aa..1c4ca397 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1045,6 +1045,7 @@ struct Coverage inline unsigned int get_coverage (hb_codepoint_t glyph_id) const { switch (u.format) { + case ("abcd"[0]) | ("abcd"[1]): case 1: return u.format1.get_coverage (glyph_id); case 2: return u.format2.get_coverage (glyph_id); default:return NOT_COVERED; |