mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +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:
commit
d918b6bcd1
@ -400,11 +400,6 @@ g_str_to_ascii (const gchar *str,
|
|||||||
else /* no match found */
|
else /* no match found */
|
||||||
g_string_append_c (result, '?');
|
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 */
|
else /* ASCII case */
|
||||||
g_string_append_c (result, *str++);
|
g_string_append_c (result, *str++);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user