mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch '2106-dead-code' into 'master'
gtranslit: Drop duplicate if case Closes #2106 See merge request GNOME/glib!1490
This commit is contained in:
commit
d918b6bcd1
@ -400,11 +400,6 @@ g_str_to_ascii (const gchar *str,
|
||||
else /* no match found */
|
||||
g_string_append_c (result, '?');
|
||||
}
|
||||
else if (*str & 0x80) /* Out-of-range non-ASCII case */
|
||||
{
|
||||
g_string_append_c (result, '?');
|
||||
str = g_utf8_next_char (str);
|
||||
}
|
||||
else /* ASCII case */
|
||||
g_string_append_c (result, *str++);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user