mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
gtranslit: Drop duplicate if case
This seems to have existed since the code was written and I can’t see a need for it. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #2106
This commit is contained in:
parent
06dc61ad6c
commit
99e2cc72dd
@ -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