summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-09 03:17:17 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-05-09 03:17:17 +0000
commit71ad5cbaf0fea521a526a5ce341b3ea17b03c9cf (patch)
tree570fbaffc3ae68eb85c350d1b213bafd14ac50f5
parent69441dbe8761f7e74d6caad7c4a1e01f91f439ef (diff)
parente834a7ab3dc721fe30f2b0025df7236efe175328 (diff)
downloadpango-71ad5cbaf0fea521a526a5ce341b3ea17b03c9cf.tar.gz
Merge branch 'matthiasc/for-master' into 'master'
Cosmetics See merge request GNOME/pango!325
-rw-r--r--pango/pango-context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 90952add..d1e447f7 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1413,10 +1413,10 @@ itemize_state_update_for_new_run (ItemizeState *state)
{
gboolean is_emoji = state->emoji_iter.is_emoji;
if (is_emoji && !state->emoji_font_desc)
- {
- state->emoji_font_desc = pango_font_description_copy_static (state->font_desc);
- pango_font_description_set_family_static (state->emoji_font_desc, "emoji");
- }
+ {
+ state->emoji_font_desc = pango_font_description_copy_static (state->font_desc);
+ pango_font_description_set_family_static (state->emoji_font_desc, "emoji");
+ }
state->current_fonts = pango_font_map_load_fontset (state->context->font_map,
state->context,
is_emoji ? state->emoji_font_desc : state->font_desc,