[layout] Fix backward reject()
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 29 Jan 2015 12:05:25 +0000 (13:05 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 25 Feb 2015 23:43:26 +0000 (15:43 -0800)
Has no functional effect since reject was never used with
match_glyph_data.

src/hb-ot-layout-gsubgpos-private.hh

index 6c1b5d9..8a733e8 100644 (file)
@@ -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);