diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-02-18 00:52:25 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-02-18 00:52:25 +0000 |
commit | c3b796b5b1f46cec16550f1cd0afbc2db10e9415 (patch) | |
tree | bb987fd8671d442dceab35e1b2badd5d0ffedf23 /pango/pango-utils.c | |
parent | 13cd53498bff11c80f993c6aa42db9a066d81fe0 (diff) | |
parent | 71e2d0c7899e789a4f43c58ec466aaee3f46f57e (diff) | |
download | pango-c3b796b5b1f46cec16550f1cd0afbc2db10e9415.tar.gz |
Merge branch 'matthiasc/for-main' into 'main'
cairo: Apply hinting to underlines too
See merge request GNOME/pango!678
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 7c85b0aa..a78dcd35 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -749,9 +749,9 @@ _pango_parse_enum (GType type, s->str); if (possible_values) - *possible_values = s->str; - - g_string_free (s, possible_values ? FALSE : TRUE); + *possible_values = g_string_free (s, FALSE); + else + g_string_free (s, TRUE); } } @@ -811,9 +811,7 @@ pango_parse_flags (GType type, g_string_append (s, v->value_nick); } - *possible_values = s->str; - - g_string_free (s, FALSE); + *possible_values = g_string_free (s, FALSE); } } |