[glib/kjellahl/turkish-strdown] guniprop, glib/tests/unicode: Fix style issues



commit ac2a8fb9fae228c900a2bfc9e3f885f9b263ff3f
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]