From 7f45ce42dbf11366e904f48db45cf5405e4e94df Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 11 May 2019 01:28:31 -0700 Subject: [PATCH] [config] Rename --- src/hb-config.hh | 2 +- src/hb-ot-layout.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-config.hh b/src/hb-config.hh index 86f7b0105..836d0cdb1 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -50,7 +50,7 @@ #define HB_NO_GETENV #define HB_NO_MATH #define HB_NO_NAME -#define HB_NO_OT_LAYOUT_UNUSED +#define HB_NO_LAYOUT_UNUSED #endif #ifdef HB_MINI diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index acc996158..f5c11d8b3 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -335,7 +335,7 @@ hb_ot_layout_get_attach_points (hb_face_t *face, unsigned int *point_count /* IN/OUT */, unsigned int *point_array /* OUT */) { -#ifdef HB_NO_OT_LAYOUT_UNUSED +#ifdef HB_NO_LAYOUT_UNUSED if (point_count) *point_count = 0; return 0; @@ -370,7 +370,7 @@ hb_ot_layout_get_ligature_carets (hb_font_t *font, unsigned int *caret_count /* IN/OUT */, hb_position_t *caret_array /* OUT */) { -#ifdef HB_NO_OT_LAYOUT_UNUSED +#ifdef HB_NO_LAYOUT_UNUSED if (caret_count) *caret_count = 0; return 0;