From 77792187be1405599e6aecfc3ed1fc771d505ddb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 2 Oct 2018 18:20:16 +0200 Subject: [PATCH] [khmer] Remove unused khmer_position() --- src/dump-khmer-data.cc | 8 +++----- src/hb-ot-shape-complex-khmer.hh | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/dump-khmer-data.cc b/src/dump-khmer-data.cc index 12871fa..1e79a97 100644 --- a/src/dump-khmer-data.cc +++ b/src/dump-khmer-data.cc @@ -34,10 +34,8 @@ main (void) hb_glyph_info_t info; info.codepoint = u; set_khmer_properties (info); - if (info.khmer_category() != INDIC_SYLLABIC_CATEGORY_OTHER || - info.khmer_position() != INDIC_MATRA_CATEGORY_NOT_APPLICABLE) - printf("U+%04X %u %u\n", u, - info.khmer_category(), - info.khmer_position()); + if (info.khmer_category() != INDIC_SYLLABIC_CATEGORY_OTHER) + printf("U+%04X %u\n", u, + info.khmer_category()); } } diff --git a/src/hb-ot-shape-complex-khmer.hh b/src/hb-ot-shape-complex-khmer.hh index 4ee0b83..6222945 100644 --- a/src/hb-ot-shape-complex-khmer.hh +++ b/src/hb-ot-shape-complex-khmer.hh @@ -34,7 +34,6 @@ /* buffer var allocations */ #define khmer_category() indic_category() /* khmer_category_t */ -#define khmer_position() indic_position() /* indic_position_t */ /* Note: This enum is duplicated in the -machine.rl source file. -- 2.7.4