From 876675e090e2b55fdb5f3e8b187022184145b2f3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 Jan 2023 15:31:43 -0700 Subject: [PATCH] [hb-cairo] Macro shuffling --- src/hb-cairo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-cairo.cc b/src/hb-cairo.cc index a9fef059a..e649e0691 100644 --- a/src/hb-cairo.cc +++ b/src/hb-cairo.cc @@ -321,11 +321,11 @@ hb_cairo_paint_custom_palette_color (hb_paint_funcs_t *funcs, hb_color_t *color, void *user_data HB_UNUSED) { +#define HB_DEADBEEF HB_TAG(0xDE,0xAD,0xBE,0xEF) + #ifdef HAVE_CAIRO_FONT_OPTIONS_GET_CUSTOM_PALETTE_COLOR cairo_t *cr = (cairo_t *) paint_data; -#define HB_DEADBEEF HB_TAG(0xDE,0xAD,0xBE,0xEF) - hb_map_t *color_cache = (hb_map_t *) cairo_get_user_data (cr, &color_cache_key); hb_codepoint_t *c; if (likely (color_cache && color_cache->has (color_index, &c)))