From 55804e8d68af0685867d20a1796b952c6ff8db60 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 May 2022 11:40:44 -0600 Subject: [PATCH] [hb-ft] Minor rearrange of struct members To make clear what members the lock protects. --- src/hb-ft.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ft.cc b/src/hb-ft.cc index 0cfbb22e3..d3c5d3db9 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -80,12 +80,12 @@ struct hb_ft_font_t { - mutable hb_mutex_t lock; - FT_Face ft_face; int load_flags; bool symbol; /* Whether selected cmap is symbol cmap. */ bool unref; /* Whether to destroy ft_face when done. */ + mutable hb_mutex_t lock; + FT_Face ft_face; mutable int cached_x_scale; mutable hb_advance_cache_t advance_cache; };