mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02: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:
@@ -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