mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
config: Accept C and POSIX as languages
They are listed as languages in `locale -a` output. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
e9aeb637de
commit
e78a53fede
@ -51,6 +51,10 @@ looks_like_a_language (const char *s)
|
||||
int len = strlen (s);
|
||||
int i;
|
||||
|
||||
if (g_str_equal (s, "C") ||
|
||||
g_str_equal (s, "POSIX"))
|
||||
return TRUE;
|
||||
|
||||
if (len < 2 || len > 3)
|
||||
return FALSE;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user