mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 13:53:06 +02:00
guniprop, glib/tests/unicode: Fix style issues
This commit is contained in:
parent
b9a4897900
commit
e008301cf8
@ -991,7 +991,7 @@ real_tolower (const gchar *str,
|
|||||||
c == G_UNICHAR_FULLWIDTH_I))
|
c == G_UNICHAR_FULLWIDTH_I))
|
||||||
{
|
{
|
||||||
gboolean combining_dot = (c == 'I' || 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)
|
if (combining_dot || c == 0x130)
|
||||||
{
|
{
|
||||||
/* I + COMBINING DOT ABOVE => i (U+0069)
|
/* I + COMBINING DOT ABOVE => i (U+0069)
|
||||||
|
@ -472,9 +472,9 @@ test_turkish_strupdown (void)
|
|||||||
char *str_up = NULL;
|
char *str_up = NULL;
|
||||||
char *str_down = NULL;
|
char *str_down = NULL;
|
||||||
const char *str = "iII"
|
const char *str = "iII"
|
||||||
"\xcc\x87" /* COMBINING DOT ABOVE (U+307) */
|
"\xcc\x87" /* COMBINING DOT ABOVE (U+307) */
|
||||||
"\xc4\xb1" /* LATIN SMALL LETTER DOTLESS I (U+131) */
|
"\xc4\xb1" /* LATIN SMALL LETTER DOTLESS I (U+131) */
|
||||||
"\xc4\xb0"; /* LATIN CAPITAL LETTER I WITH DOT ABOVE (U+130) */
|
"\xc4\xb0"; /* LATIN CAPITAL LETTER I WITH DOT ABOVE (U+130) */
|
||||||
|
|
||||||
char *oldlocale = g_strdup (setlocale (LC_ALL, "tr_TR"));
|
char *oldlocale = g_strdup (setlocale (LC_ALL, "tr_TR"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user