From 1f038eec3c0dd6331036f795614fe1ddcbf613b0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 29 Jan 2015 13:05:25 +0100 Subject: [PATCH] [layout] Fix backward reject() Has no functional effect since reject was never used with match_glyph_data. --- src/hb-ot-layout-gsubgpos-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 6c1b5d98c..8a733e8f6 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -488,7 +488,7 @@ struct hb_apply_context_t match_glyph_data = glyph_data; } - inline void reject (void) { num_items++; } + inline void reject (void) { num_items++; match_glyph_data--; } inline bool prev (void) { assert (num_items > 0);