From 3e8f4f145255a905029c6b5cb8f40e6dcca096f3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 22 Aug 2017 17:56:25 -0700 Subject: [PATCH] Rename HB_BUFFER_DIFF_FLAG_MASK_MISMATCH to HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH --- src/hb-buffer.cc | 2 +- src/hb-buffer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 9007cd0df..0c175a38a 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -1909,7 +1909,7 @@ hb_buffer_diff (hb_buffer_t *buffer, if (buf_info->cluster != ref_info->cluster) result |= HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH; if ((buf_info->mask & HB_GLYPH_FLAG_DEFINED) != (ref_info->mask & HB_GLYPH_FLAG_DEFINED)) - result |= HB_BUFFER_DIFF_FLAG_MASK_MISMATCH; + result |= HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH; if (ref_info->codepoint == dottedcircle_glyph) result |= HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT; else if (ref_info->codepoint == 0) diff --git a/src/hb-buffer.h b/src/hb-buffer.h index 98f83ff52..9f5943ec8 100644 --- a/src/hb-buffer.h +++ b/src/hb-buffer.h @@ -491,7 +491,7 @@ typedef enum { /*< flags >*/ * and report which aspect(s) of the glyph info/position are different. */ HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH = 0x0010, HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH = 0x0020, - HB_BUFFER_DIFF_FLAG_MASK_MISMATCH = 0x0040, + HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH = 0x0040, HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH = 0x0080 } hb_buffer_diff_flags_t;