diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2021-02-09 15:27:26 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-02-10 18:25:53 +0200 |
commit | e008301cf8cb66871cfa05a61ee46fef57781e55 (patch) | |
tree | e6a73629aef246afb7191dda39af705cdd12ab70 | |
parent | b9a4897900cc3a39df0aac0e40fe0600fc7d123a (diff) | |
download | glib-e008301cf8cb66871cfa05a61ee46fef57781e55.tar.gz |
guniprop, glib/tests/unicode: Fix style issues
-rw-r--r-- | glib/guniprop.c | 2 | ||||
-rw-r--r-- | glib/tests/unicode.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/glib/guniprop.c b/glib/guniprop.c index fdae9f0fc..2903367d4 100644 --- a/glib/guniprop.c +++ b/glib/guniprop.c @@ -991,7 +991,7 @@ real_tolower (const gchar *str, c == G_UNICHAR_FULLWIDTH_I)) { gboolean combining_dot = (c == 'I' || c == G_UNICHAR_FULLWIDTH_I) && - g_utf8_get_char (p) == 0x0307; + g_utf8_get_char (p) == 0x0307; if (combining_dot || c == 0x130) { /* I + COMBINING DOT ABOVE => i (U+0069) diff --git a/glib/tests/unicode.c b/glib/tests/unicode.c index 089630fc7..bf1ad52ab 100644 --- a/glib/tests/unicode.c +++ b/glib/tests/unicode.c @@ -472,9 +472,9 @@ test_turkish_strupdown (void) char *str_up = NULL; char *str_down = NULL; const char *str = "iII" - "\xcc\x87" /* COMBINING DOT ABOVE (U+307) */ - "\xc4\xb1" /* LATIN SMALL LETTER DOTLESS I (U+131) */ - "\xc4\xb0"; /* LATIN CAPITAL LETTER I WITH DOT ABOVE (U+130) */ + "\xcc\x87" /* COMBINING DOT ABOVE (U+307) */ + "\xc4\xb1" /* LATIN SMALL LETTER DOTLESS I (U+131) */ + "\xc4\xb0"; /* LATIN CAPITAL LETTER I WITH DOT ABOVE (U+130) */ char *oldlocale = g_strdup (setlocale (LC_ALL, "tr_TR")); |