diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-08-17 00:01:41 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-08-17 00:02:42 -0400 |
commit | 7c5b158ce47ffef5be88694a3d12f3b38a784318 (patch) | |
tree | 2513729b9d697843f2eed1279577d248fe57f2a5 /pango/break.c | |
parent | da4cea5b1d8e0448c478c3fe8e47f84eb9e8b6f7 (diff) | |
download | pango-7c5b158ce47ffef5be88694a3d12f3b38a784318.tar.gz |
Fix backspacing for more Emoji sequences
Behdad pointed out that I didn't get it right for
flags and for sequences ending in a skin tone modifier.
Fix that.
Diffstat (limited to 'pango/break.c')
-rw-r--r-- | pango/break.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c index f1bfb999..b92e768f 100644 --- a/pango/break.c +++ b/pango/break.c @@ -869,7 +869,10 @@ pango_default_break (const gchar *text, if (prev_GB_type == GB_E_Base || prev_GB_type == GB_E_Base_GAZ || prev_GB_type == GB_Glue_After_Zwj || - prev_GB_type == GB_Extend) + prev_GB_type == GB_Extend || + prev_GB_type == GB_E_Modifier || + prev_GB_type == GB_RI_Odd || + prev_GB_type == GB_RI_Even) attrs[i].backspace_deletes_character = FALSE; else attrs[i].backspace_deletes_character = BACKSPACE_DELETES_CHARACTER (base_character); |