mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02: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:
@@ -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++);
|
||||
}
|
||||
|
Reference in New Issue
Block a user