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:
Philip Withnall 2020-05-12 10:36:07 +01:00
parent 06dc61ad6c
commit 99e2cc72dd

View File

@ -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++);
}