guniprop, glib/tests/unicode: Fix style issues

This commit is contained in:
Kjell Ahlstedt 2021-02-09 15:27:26 +01:00 committed by Sebastian Dröge
parent b9a4897900
commit e008301cf8
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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"));