[glib/kjellahl/turkish-strdown: 21/21] guniprop, glib/tests/unicode: Fix style issues
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/kjellahl/turkish-strdown: 21/21] guniprop, glib/tests/unicode: Fix style issues
- Date: Wed, 10 Feb 2021 16:26:12 +0000 (UTC)
commit e008301cf8cb66871cfa05a61ee46fef57781e55
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Tue Feb 9 15:27:26 2021 +0100
guniprop, glib/tests/unicode: Fix style issues
glib/guniprop.c | 2 +-
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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]